Skip to content

Commit

Permalink
Bugfix FXIOS-8274 [v123] Fix toasts not showing on tab tray every ti…
Browse files Browse the repository at this point in the history
…me we close a tab (#18464)
  • Loading branch information
dataports authored Jan 31, 2024
1 parent ae6ce17 commit 4aafd6f
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,7 @@ class TabDisplayPanel: UIViewController,
shouldShowEmptyView(tabsState.isPrivateTabsEmpty)
let uuid = windowUUID
// Avoid showing toast multiple times
if let toastType = tabsState.toastType,
shownToast == nil {
if let toastType = tabsState.toastType {
store.dispatch(TabPanelAction.hideUndoToast(windowUUID.context))
presentToast(toastType: toastType) { undoClose in
if let action = toastType.reduxAction(for: uuid), undoClose {
Expand Down

0 comments on commit 4aafd6f

Please sign in to comment.