We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7da2185 commit 43b3325Copy full SHA for 43b3325
app/src/main/java/com/duckduckgo/app/tabs/ui/TabSwitcherViewModel.kt
@@ -188,6 +188,9 @@ class TabSwitcherViewModel @Inject constructor(
188
// Make sure all exemptions are removed as all tabs are deleted.
189
adClickManager.clearAll()
190
pixel.fire(AppPixelName.TAB_MANAGER_MENU_CLOSE_ALL_TABS_CONFIRMED)
191
+
192
+ // Trigger a normal mode when there are no tabs
193
+ _selectionViewState.update { it.copy(mode = SelectionViewState.Mode.Normal) }
194
}
195
196
0 commit comments