1
0
mirror of https://github.com/XFox111/GUTSchedule.git synced 2026-04-22 06:58:01 +03:00

Fixed problems from RESharper report

Updated validation.yml
This commit is contained in:
Michael Gordeev
2020-03-14 11:22:05 +03:00
parent bd53cd68d0
commit 3962591430
4 changed files with 6 additions and 5 deletions
+1
View File
@@ -20,5 +20,6 @@
<Setter Property="Margin" Value="2"/>
</Style>
<Color x:Key="SystemAccentColor">#ff8000</Color>
<SolidColorBrush x:Key="SystemAccentColorBrush" Color="#ff8000" />
</Application.Resources>
</Application>
@@ -9,7 +9,7 @@
Loaded="Page_Loaded">
<Page.TopAppBar>
<CommandBar ClosedDisplayMode="Compact" Background="{StaticResource SystemAccentColor}" RequestedTheme="Dark">
<CommandBar ClosedDisplayMode="Compact" Background="{StaticResource SystemAccentColorBrush}" RequestedTheme="Dark">
<CommandBar.Content>
<Grid>
<Grid.ColumnDefinitions>
@@ -12,7 +12,7 @@
</Page.Background>
<Page.TopAppBar>
<CommandBar ClosedDisplayMode="Compact" Background="{StaticResource SystemAccentColor}" RequestedTheme="Dark">
<CommandBar ClosedDisplayMode="Compact" Background="{StaticResource SystemAccentColorBrush}" RequestedTheme="Dark">
<CommandBar.Content>
<TextBlock x:Uid="appName" Text="GUT.Schedule" Style="{StaticResource TitleTextBlockStyle}" Margin="10,6"/>
</CommandBar.Content>
@@ -115,7 +115,7 @@
<TextBlock x:Uid="titleNote" Style="{StaticResource CaptionTextBlockStyle}" Text="note"/>
<TextBlock Foreground="Red" Visibility="Collapsed" Text="Error" x:Name="errorPlaceholder"/>
<Button x:Uid="addScheduleButton" Content="Add schedule" Background="{StaticResource SystemAccentColor}" Foreground="White" FontWeight="Bold" Margin="0,10" Click="Export"/>
<Button x:Uid="addScheduleButton" Content="Add schedule" Background="{StaticResource SystemAccentColorBrush}" Foreground="White" FontWeight="Bold" Margin="0,10" Click="Export"/>
<TextBlock x:Uid="copyrights" Style="{StaticResource CaptionTextBlockStyle}" Text="©2020 Michael Gordeev, INS, ICT-907"/>
<TextBlock Style="{StaticResource CaptionTextBlockStyle}" Text="v$(Build.BuildNumber) (ci-id #$(Build.BuildId))" x:Name="version"/>
@@ -123,7 +123,7 @@
</Grid>
</ScrollViewer>
<Grid Background="{StaticResource SystemAccentColor}" x:Name="loading" Visibility="Collapsed">
<Grid Background="{StaticResource SystemAccentColorBrush}" x:Name="loading" Visibility="Collapsed">
<StackPanel VerticalAlignment="Center">
<ProgressRing Width="100" Height="100" Foreground="White" IsActive="True" HorizontalAlignment="Center"/>
<TextBlock Style="{StaticResource TitleTextBlockStyle}" x:Name="status" Text="Processing..." HorizontalAlignment="Center" Foreground="White" Margin="0,20"/>