Skip to content
Snippets Groups Projects
Commit 53443a6c authored by Koen J's avatar Koen J
Browse files

Only show announcements on subscriptions if home is not enabled. Add margin top to subscriptions.

parent 92715b56
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment