|
27 | 27 | <converters:NullToTrueConverter x:Key="NullToFalseConverter" Inverse="True" /> |
28 | 28 | <converters1:BoolNegationConverter x:Key="BoolNegationConverter" /> |
29 | 29 |
|
| 30 | + <ResourceDictionary.ThemeDictionaries> |
| 31 | + <ResourceDictionary x:Key="Light"> |
| 32 | + <LinearGradientBrush x:Key="WarningGradientBrush" StartPoint="0,0" EndPoint="1,1"> |
| 33 | + <GradientStop Offset="0" Color="#FFA500" /> |
| 34 | + <GradientStop Offset="0.5" Color="#FF8C00" /> |
| 35 | + <GradientStop Offset="1" Color="#FF4500" /> |
| 36 | + </LinearGradientBrush> |
| 37 | + </ResourceDictionary> |
| 38 | + <ResourceDictionary x:Key="Dark"> |
| 39 | + <LinearGradientBrush x:Key="WarningGradientBrush" StartPoint="0,0" EndPoint="1,1"> |
| 40 | + <GradientStop Offset="0" Color="#ffd153" /> |
| 41 | + <GradientStop Offset="0.5" Color="#f9ae41" /> |
| 42 | + <GradientStop Offset="1" Color="#f69e38" /> |
| 43 | + </LinearGradientBrush> |
| 44 | + </ResourceDictionary> |
| 45 | + </ResourceDictionary.ThemeDictionaries> |
| 46 | + |
30 | 47 | <ResourceDictionary.MergedDictionaries> |
31 | 48 | <ResourceDictionary> |
32 | 49 | <SolidColorBrush x:Key="ButtonBorderBrushDisabled" Color="Transparent" /> |
|
508 | 525 | Glyph="" /> |
509 | 526 | </Button> |
510 | 527 |
|
| 528 | + <!-- (TEMP) Re-install Prompt (Limited Time Only) --> |
| 529 | + <Button |
| 530 | + x:Name="ReInstallPromptButton" |
| 531 | + Width="36" |
| 532 | + Height="32" |
| 533 | + Padding="0" |
| 534 | + x:Load="{x:Bind ViewModel.ShowReinstallationPrompt, Mode=OneWay}" |
| 535 | + Click="ReInstallPromptButton_Click" |
| 536 | + Style="{StaticResource AddressToolbarButtonStyle}"> |
| 537 | + <Grid> |
| 538 | + <Viewbox Width="16"> |
| 539 | + <Image Source="ms-appx:///Assets/AppTiles/Dev/Logo.ico" /> |
| 540 | + </Viewbox> |
| 541 | + <FontIcon Foreground="{ThemeResource WarningGradientBrush}" Glyph="" /> |
| 542 | + <FontIcon Foreground="Black" Glyph="" /> |
| 543 | + </Grid> |
| 544 | + </Button> |
| 545 | + |
511 | 546 | <!-- Show The Files App Settings Dialog --> |
512 | 547 | <Button |
513 | 548 | x:Name="SettingsButton" |
|
0 commit comments