commit a3bd4af336aa43a95a19d3be0fa9434934ad725c parent 0ed18902804f7903e4899b88b6a67dd1c9eab612 Author: Devota Aabel <daabel@mozilla.com> Date: Thu, 4 Dec 2025 17:26:46 +0000 Bug 2003909- Pin stories to bottom of homepage when header and/or collections are visible. r=gl,android-reviewers Differential Revision: https://phabricator.services.mozilla.com/D275089 Diffstat:
| M | mobile/android/fenix/app/src/main/java/org/mozilla/fenix/home/store/HomepageState.kt | | | 3 | +-- |
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/home/store/HomepageState.kt b/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/home/store/HomepageState.kt @@ -136,8 +136,7 @@ internal sealed class HomepageState { */ internal fun isMinimalLayout(): Boolean { return (this as? Normal)?.run { - !showRecentTabs && !showRecentSyncedTab && !showBookmarks && !showRecentlyVisited && - (!showCollections || collectionsState == CollectionsState.Gone) && !headerState.showHeader + !showRecentTabs && !showRecentSyncedTab && !showBookmarks && !showRecentlyVisited } ?: false }