Skip to content

Commit

Permalink
Remove local history of the remaining window's tab collection after b…
Browse files Browse the repository at this point in the history
…urning all data (#645)

Task/Issue URL: https://app.asana.com/0/1177771139624306/1202309934776042/f

Description:
When all data is burned, it closes all windows and clears tabs in the active one.
The "Current window" fire button mode takes the list of domains to be burned
from tab collection's localHistoryOfRemovedTabs. This one wasn't getting wiped
in the active window when all data was cleared.
  • Loading branch information
ayoy authored Jul 20, 2022
1 parent bf420c6 commit e5c116c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions DuckDuckGo/Fire/Model/Fire.swift
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@ final class Fire {
} else {
tabCollectionViewModel.appendNewTab(forceChange: true)
}
tabCollectionViewModel.tabCollection.localHistoryOfRemovedTabs.removeAll()

completion()
}
Expand Down

0 comments on commit e5c116c

Please sign in to comment.