Skip to content

Commit

Permalink
add storage variable for showQueueView
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMoonThatRises committed Dec 16, 2024
1 parent 5c041d5 commit f0ef9ac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Spwifiy/ViewModels/MainViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import SpotifyWebAPI

class MainViewModel: ObservableObject {

@AppStorage("settings.view.showQueueView") var showQueueView: Bool = false

@Published var authStatus: SpotifyAuthManager.AuthStatus = .cookieSet

@Published var currentView: MainViewOptions = .home {
Expand Down

0 comments on commit f0ef9ac

Please sign in to comment.