Skip to content

Commit

Permalink
(#88) Make sure we don't show the queue if we know it's empty
Browse files Browse the repository at this point in the history
i blame the toolkit
  • Loading branch information
Difegue committed Mar 28, 2024
1 parent 3359fee commit 059c8d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Sources/Stylophone/Views/ServerQueuePage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
ItemsSource="{x:Bind ViewModel.Source, Mode=OneWay}"
ReorderMode="Enabled"
RightTapped="Select_Item"
SelectionMode="Extended">
SelectionMode="Extended"
Visibility="{x:Bind ViewModel.IsSourceEmpty, Mode=OneWay, Converter={StaticResource ReverseBoolToVisibilityConverter}}">
<interactivity:Interaction.Behaviors>
<behaviors:AlternatingListViewBehavior
AlternateBackground="{ThemeResource SubtleFillColorTertiaryBrush}"
Expand Down

0 comments on commit 059c8d1

Please sign in to comment.