For #23700 - HistoryFragment: Exit edit mode when multi-selection is opened in tabs or shared.

This mirrors behavior currently in Bookmarks library with the same actions.
pull/543/head
JLRoberts 2 years ago committed by mergify[bot]
parent 4899241f3b
commit 479e44b0a1

@ -241,7 +241,7 @@ class HistoryFragment : LibraryPageFragment<History>(), UserInteractionHandler {
}
share(shareTabs)
historyStore.dispatch(HistoryFragmentAction.ExitEditMode)
true
}
R.id.delete_history_multi_select -> {
@ -256,6 +256,7 @@ class HistoryFragment : LibraryPageFragment<History>(), UserInteractionHandler {
}
showTabTray()
historyStore.dispatch(HistoryFragmentAction.ExitEditMode)
true
}
R.id.open_history_in_private_tabs_multi_select -> {
@ -270,6 +271,7 @@ class HistoryFragment : LibraryPageFragment<History>(), UserInteractionHandler {
}
showTabTray()
historyStore.dispatch(HistoryFragmentAction.ExitEditMode)
true
}
R.id.history_search -> {

Loading…
Cancel
Save