mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-04-20 03:24:50 +00:00
Only show announcements on subscriptions if home is not enabled. Add margin top to subscriptions.
This commit is contained in:
parent
92715b5642
commit
53443a6cf2
2 changed files with 5 additions and 2 deletions
|
@ -124,7 +124,9 @@ class SubscriptionsFeedFragment : MainFragment() {
|
|||
initializeToolbarContent();
|
||||
|
||||
setPreviewsEnabled(Settings.instance.subscriptions.previewFeedItems);
|
||||
showAnnouncementView()
|
||||
if (Settings.instance.tabs.find { it.id == 0 }?.enabled != true) {
|
||||
showAnnouncementView()
|
||||
}
|
||||
}
|
||||
|
||||
fun onShown() {
|
||||
|
|
|
@ -116,7 +116,8 @@
|
|||
android:visibility="gone"
|
||||
android:id="@+id/empty_pager_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="30dp" />
|
||||
</FrameLayout>
|
||||
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue