From 97de95c41dcc0d41b00a2c69188dd2a9efffeddb Mon Sep 17 00:00:00 2001 From: Jeff Boek Date: Tue, 5 Mar 2019 09:21:24 -0800 Subject: [PATCH] [fenix] Fixes compiler error for new version of A-C --- app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt b/app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt index c89c2e13e2..455920b314 100644 --- a/app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt +++ b/app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt @@ -95,7 +95,7 @@ class HomeFragment : Fragment() { tabsComponent.tabList.isNestedScrollingEnabled = false sessionsComponent.view.isNestedScrollingEnabled = false - val bundles = requireComponents.core.sessionStorage.bundles(temporaryNumberOfSessions) + val bundles = requireComponents.core.sessionStorage.bundles(limit = temporaryNumberOfSessions) bundles.observe(this, Observer { sessionBundles -> val archivedSessions = sessionBundles