From 9edf548f87f3de1349bccf2b5aca037033d18ac8 Mon Sep 17 00:00:00 2001 From: Mihai Adrian Carare <48995920+mcarare@users.noreply.github.com> Date: Thu, 26 Nov 2020 20:09:49 +0200 Subject: [PATCH] [fenix] For https://github.com/mozilla-mobile/fenix/issues/16735 - Do not show grid view CFR if grid view is already selected. (https://github.com/mozilla-mobile/fenix/pull/16740) --- app/src/main/java/org/mozilla/fenix/tabtray/TabTrayView.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/org/mozilla/fenix/tabtray/TabTrayView.kt b/app/src/main/java/org/mozilla/fenix/tabtray/TabTrayView.kt index 5512320b0c..27161f2fc9 100644 --- a/app/src/main/java/org/mozilla/fenix/tabtray/TabTrayView.kt +++ b/app/src/main/java/org/mozilla/fenix/tabtray/TabTrayView.kt @@ -270,6 +270,7 @@ class TabTrayView( if ( view.context.settings().shouldShowGridViewBanner && view.context.settings().canShowCfr && + view.context.settings().listTabView && tabs.size >= TAB_COUNT_SHOW_CFR ) { InfoBanner(