Browse Source

Merge pull request #217 from ionite34/hide-buttons

Hide toggle buttons if release mode isn't supported
pull/109/head
JT 1 year ago committed by GitHub
parent
commit
8499e0091f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      StabilityMatrix.Avalonia/Views/Dialogs/InstallerDialog.axaml

3
StabilityMatrix.Avalonia/Views/Dialogs/InstallerDialog.axaml

@ -135,7 +135,8 @@
TextWrapping="Wrap"
IsVisible="{Binding SelectedPackage.Disclaimer, Converter={x:Static StringConverters.IsNotNullOrEmpty}}"/>
<StackPanel Orientation="Horizontal" Margin="0,8,0,0">
<StackPanel Orientation="Horizontal" Margin="0,8,0,0"
IsVisible="{Binding IsReleaseModeAvailable}">
<ToggleButton
Content="Releases"
IsChecked="{Binding IsReleaseMode}"

Loading…
Cancel
Save