From 12a5ea4df90e8fed3750e840a8442d65e5c13191 Mon Sep 17 00:00:00 2001 From: Paul Halpin Date: Fri, 27 Oct 2023 15:13:30 +0100 Subject: [PATCH] renamed var --- HalpoPlayer/HalpoPlayerApp.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/HalpoPlayer/HalpoPlayerApp.swift b/HalpoPlayer/HalpoPlayerApp.swift index 28bf884..42da9df 100644 --- a/HalpoPlayer/HalpoPlayerApp.swift +++ b/HalpoPlayer/HalpoPlayerApp.swift @@ -15,7 +15,7 @@ struct halpoplayerApp: App { @ObservedObject var playlistsCoordinator = Coordinator() @ObservedObject var searchCoordinator = Coordinator() @State var selectedTab: AppTab = .library - @State var presentTEst = false + @State var presentNowPlayingView = false let batteryManager = BatteryManager.shared var body: some Scene { WindowGroup { @@ -52,9 +52,9 @@ struct halpoplayerApp: App { } MediaControlBar() .onTapGesture { - self.presentTEst.toggle() + self.presentNowPlayingView.toggle() } - .sheet(isPresented: $presentTEst, content: { + .sheet(isPresented: $presentNowPlayingView, content: { NowPlayingView(goToAlbum: { albumId, songId in if self.coordinatorForTab(tab: self.selectedTab).viewingAlbum != albumId { self.coordinatorForTab(tab: self.selectedTab).albumTapped(albumId: albumId, scrollToSong: songId)