mirror of
https://github.com/yattee/yattee.git
synced 2024-11-10 00:08:21 +00:00
Fix tab selection bugfix
This commit is contained in:
parent
e556dac871
commit
e5f49fda5e
@ -66,7 +66,7 @@ final class NavigationModel: ObservableObject {
|
||||
@Published var tabSelection: TabSelection! { didSet {
|
||||
if oldValue == tabSelection { multipleTapHandler() }
|
||||
if tabSelection == nil, let item = recents.presentedItem {
|
||||
DispatchQueue.main.async { [weak self] in
|
||||
Delay.by(0.2) { [weak self] in
|
||||
self?.tabSelection = .recentlyOpened(item.tag)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user