an open source Navidrome client written in Swift — https://dub.sh/getflo dub.sh/getflo
navidrome-client

fix: move the attributes to the right place

+2 -2
+2 -2
flo/ContentView.swift
··· 63 63 ZStack { 64 64 if playerViewModel.hasNowPlaying() && !playerViewModel.shouldHidePlayer { 65 65 PlayerView(isExpanded: $isPlayerExpanded, viewModel: playerViewModel) 66 + .offset(y: isPlayerExpanded ? 0 : UIScreen.main.bounds.height) 67 + .animation(.spring(duration: 0.2), value: isPlayerExpanded) 66 68 } 67 69 } 68 - .offset(y: isPlayerExpanded ? 0 : UIScreen.main.bounds.height) 69 - .animation(.spring(duration: 0.2), value: isPlayerExpanded) 70 70 71 71 VStack { 72 72 Spacer()