mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-04-20 03:24:50 +00:00
subscriptions feed announcements fix
This commit is contained in:
parent
9693b50719
commit
71ba131fb3
1 changed files with 3 additions and 0 deletions
|
@ -158,6 +158,9 @@ class SubscriptionsFeedFragment : MainFragment() {
|
|||
if (c != null) {
|
||||
_announcementsView = AnnouncementView(c, null).apply {
|
||||
recyclerData.adapter.viewsToPrepend.add(this)
|
||||
this.onClose.subscribe {
|
||||
recyclerData.adapter.viewsToPrepend.remove(this)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue