mirror of
https://github.com/yattee/yattee.git
synced 2025-11-25 18:58:21 +00:00
Fix sidebar navigation
This commit is contained in:
@@ -65,6 +65,11 @@ 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
|
||||
self?.tabSelection = .recentlyOpened(item.tag)
|
||||
}
|
||||
}
|
||||
}}
|
||||
|
||||
@Published var presentingAddToPlaylist = false
|
||||
|
||||
Reference in New Issue
Block a user