Skip to content

Commit

Permalink
Align the loading indicator to the right when the UI is hidden (#886)
Browse files Browse the repository at this point in the history
  • Loading branch information
waliid authored May 16, 2024
1 parent a8c91d9 commit 59afca0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Demo/Sources/Players/PlaybackView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,9 @@ private struct MainView: View {
Spacer()
HStack(spacing: 20) {
LoadingIndicator(player: player)
VolumeButton(player: player)
.opacity(shouldHideInterface ? 0 : 1)
if !shouldHideInterface {
VolumeButton(player: player)
}
}
}
.topBarStyle()
Expand Down

0 comments on commit 59afca0

Please sign in to comment.