From 04f95e0971ba8fe31174cee2258b1e1127f38eb7 Mon Sep 17 00:00:00 2001 From: iorgamgabriel Date: Mon, 2 Oct 2023 13:29:35 +0300 Subject: [PATCH] Bug 1854644 - Undo button from tabs tray should work. --- .../java/org/mozilla/fenix/compose/tabstray/TabGridItem.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/main/java/org/mozilla/fenix/compose/tabstray/TabGridItem.kt b/app/src/main/java/org/mozilla/fenix/compose/tabstray/TabGridItem.kt index c1105498f4..51880299df 100644 --- a/app/src/main/java/org/mozilla/fenix/compose/tabstray/TabGridItem.kt +++ b/app/src/main/java/org/mozilla/fenix/compose/tabstray/TabGridItem.kt @@ -119,10 +119,8 @@ fun TabGridItem( confirmStateChange = { dismissValue -> if (dismissValue == DismissValue.DismissedToEnd || dismissValue == DismissValue.DismissedToStart) { onCloseClick(tab) - true - } else { - false } + false }, )