mirror of
https://github.com/yattee/yattee.git
synced 2025-10-14 11:28:13 +00:00
Playlists handling improvements
This commit is contained in:
@@ -13,6 +13,14 @@ final class NavigationModel: ObservableObject {
|
||||
case recentlyOpened(String)
|
||||
case nowPlaying
|
||||
case search
|
||||
|
||||
var playlistID: Playlist.ID? {
|
||||
if case let .playlist(id) = self {
|
||||
return id
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
@Published var tabSelection: TabSelection! = .watchNow
|
||||
|
Reference in New Issue
Block a user