mirror of
https://github.com/yattee/yattee.git
synced 2025-08-09 20:24:06 +00:00
Navigation improvements
This commit is contained in:
@@ -78,7 +78,7 @@ final class NavigationModel: ObservableObject {
|
||||
return
|
||||
}
|
||||
|
||||
navigation.presentingPlaylist = false
|
||||
player.presentingPlayer = false
|
||||
navigation.presentingChannel = false
|
||||
|
||||
let recent = RecentItem(from: channel)
|
||||
@@ -116,7 +116,6 @@ final class NavigationModel: ObservableObject {
|
||||
navigationStyle: NavigationStyle,
|
||||
delay: Bool = false
|
||||
) {
|
||||
navigation.presentingChannel = false
|
||||
navigation.presentingPlaylist = false
|
||||
|
||||
let recent = RecentItem(from: playlist)
|
||||
|
@@ -22,4 +22,8 @@ final class Store<Data>: ResourceObserver, ObservableObject {
|
||||
func replace(_ items: Data) {
|
||||
all = items
|
||||
}
|
||||
|
||||
func clear() {
|
||||
all = nil
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user