WHY CRASH???

This commit is contained in:
Stefan Markovic
2023-09-21 09:41:20 +02:00
parent 1b2306eeb7
commit 0201166de3
2 changed files with 26 additions and 14 deletions

View File

@@ -63,20 +63,29 @@
<Grid>
<!-- buttons -->
<Button Command="{x:Bind NewProfileCommand}">
<StackPanel Orientation="Horizontal" Spacing="8">
<FontIcon
x:Name="Icon"
FontSize="16"
Foreground="{ThemeResource AccentTextFillColorPrimaryBrush}"
Glyph="&#xe710;" />
<TextBlock x:Uid="NewProfileBtn" />
</StackPanel>
<Button.KeyboardAccelerators>
<KeyboardAccelerator Key="N" Modifiers="Control" />
</Button.KeyboardAccelerators>
</Button>
<ProgressRing IsActive="{x:Bind ViewModel.ApplyingChanges, Mode=TwoWay}" />
<StackPanel>
<Button Command="{x:Bind NewProfileCommand}">
<StackPanel Orientation="Horizontal" Spacing="8">
<FontIcon
x:Name="Icon"
FontSize="16"
Foreground="{ThemeResource AccentTextFillColorPrimaryBrush}"
Glyph="&#xe710;" />
<TextBlock x:Uid="NewProfileBtn" />
</StackPanel>
<Button.KeyboardAccelerators>
<KeyboardAccelerator Key="N" Modifiers="Control" />
</Button.KeyboardAccelerators>
</Button>
<ProgressRing IsActive="{x:Bind ViewModel.ApplyingChanges, Mode=TwoWay}" />
<InfoBar
x:Uid="StateNotUpToDateInfoBar"
Margin="0,8,0,0"
IsOpen="{x:Bind ViewModel.IsElevated, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"
Severity="Informational"
Visibility="{x:Bind ViewModel.IsElevated, Mode=OneWay, Converter={StaticResource BoolToInvertedVisibilityConverter}}" />
</StackPanel>
</Grid>
<Grid Grid.Row="1" ColumnSpacing="32">
<Grid.ColumnDefinitions>

View File

@@ -218,4 +218,7 @@
<data name="Yes" xml:space="preserve">
<value>Yes</value>
</data>
<data name="StateNotUpToDateInfoBar.Title" xml:space="preserve">
<value>Environment variables are update by third-party app, state is inconsistent. Please review changes.</value>
</data>
</root>