Skip to content

Commit c5c9d55

Browse files
committed
Remove SkiaRenderer
1 parent 5b929e5 commit c5c9d55

File tree

2 files changed

+20
-29
lines changed

2 files changed

+20
-29
lines changed

BingWallpaper/BingWallpaper.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
Toolkit;
2222
Mvvm;
2323
ExtensionsCore;
24-
SkiaRenderer;
2524
</UnoFeatures>
2625
</PropertyGroup>
2726

BingWallpaper/MainPage.xaml

Lines changed: 20 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -41,46 +41,38 @@
4141
</DataTemplate>
4242
</FlipView.ItemTemplate>
4343
</FlipView>
44-
<Grid VerticalAlignment="Bottom" Padding="20,40,20,20">
45-
<Grid.Background>
46-
<LinearGradientBrush StartPoint="0,1" EndPoint="0,0">
47-
<GradientStop Color="#88000000" />
48-
<GradientStop Color="#00000000" Offset="1" />
49-
</LinearGradientBrush>
50-
</Grid.Background>
51-
<StackPanel Orientation="Horizontal" Spacing="6" Padding="12" CornerRadius="{ThemeResource ControlCornerRadius}"
44+
<StackPanel Orientation="Horizontal" Spacing="6" Padding="12" CornerRadius="{ThemeResource ControlCornerRadius}"
5245
Background="{ThemeResource AcrylicBackgroundFillColorDefaultBrush}"
53-
VerticalAlignment="Center" HorizontalAlignment="Center">
54-
<Button Content="&#xE72C;" FontFamily="{ThemeResource SymbolThemeFontFamily}"
46+
VerticalAlignment="Bottom" HorizontalAlignment="Center" Margin="20,40,20,20">
47+
<Button Content="&#xE72C;" FontFamily="{ThemeResource SymbolThemeFontFamily}"
5548
Click="GetWallpapersButton_Click" ToolTipService.ToolTip="Get Wallpapers" />
56-
<Button Content="&#xE713;" FontFamily="{ThemeResource SymbolThemeFontFamily}"
49+
<Button Content="&#xE713;" FontFamily="{ThemeResource SymbolThemeFontFamily}"
5750
Grid.Column="1" VerticalAlignment="Stretch" ToolTipService.ToolTip="Settings">
58-
<Button.Flyout>
59-
<Flyout>
60-
<StackPanel Spacing="10" Width="250" DataContext="{x:Bind local:UserPreferences.Current}">
61-
<ComboBox x:Name="resCmb" Header="Resolution" HorizontalAlignment="Stretch"
51+
<Button.Flyout>
52+
<Flyout>
53+
<StackPanel Spacing="10" Width="250" DataContext="{x:Bind local:UserPreferences.Current}">
54+
<ComboBox x:Name="resCmb" Header="Resolution" HorizontalAlignment="Stretch"
6255
SelectedItem="{Binding PreferredResolution, Mode=TwoWay}" />
63-
<ComboBox x:Name="orCmb" Header="Orientation" HorizontalAlignment="Stretch"
56+
<ComboBox x:Name="orCmb" Header="Orientation" HorizontalAlignment="Stretch"
6457
SelectedItem="{Binding PreferredOrientation, Mode=TwoWay}" />
65-
<CheckBox x:Name="swCB" Content="Always ask where to set the image as wallpaper"
58+
<CheckBox x:Name="swCB" Content="Always ask where to set the image as wallpaper"
6659
IsChecked="{Binding AlwaysAskSetPreference, Mode=TwoWay}" />
67-
<ComboBox x:Name="swCmb" Header="Set wallpaper in" HorizontalAlignment="Stretch"
60+
<ComboBox x:Name="swCmb" Header="Set wallpaper in" HorizontalAlignment="Stretch"
6861
SelectedItem="{Binding SetWallpaperPreference, Mode=TwoWay}" />
69-
<TextBlock TextWrapping="WrapWholeWords">
62+
<TextBlock TextWrapping="WrapWholeWords">
7063
This application is not affiliated with Microsoft or Microsoft Bing. Use of the images are restricted to wallpaper only.<LineBreak />
7164
<LineBreak/>You can check out or contribute to this project on <Hyperlink Click="Hyperlink_Click">GitHub</Hyperlink><LineBreak />
7265
<LineBreak />If you have any issues or feedback, please create an issue on the GitHub repository.
73-
</TextBlock>
74-
</StackPanel>
75-
</Flyout>
76-
</Button.Flyout>
77-
</Button>
78-
<Button x:Name="setWPBtn" Grid.Column="2" Content="&#xE7B5;" FontFamily="{ThemeResource SymbolThemeFontFamily}"
66+
</TextBlock>
67+
</StackPanel>
68+
</Flyout>
69+
</Button.Flyout>
70+
</Button>
71+
<Button x:Name="setWPBtn" Grid.Column="2" Content="&#xE7B5;" FontFamily="{ThemeResource SymbolThemeFontFamily}"
7972
Click="SetWallpaperButton_Click" ToolTipService.ToolTip="Set Wallpaper" />
80-
<Button x:Name="SaveWallpaperButton" Grid.Column="3" Content="&#xE74E;" FontFamily="{ThemeResource SymbolThemeFontFamily}"
73+
<Button x:Name="SaveWallpaperButton" Grid.Column="3" Content="&#xE74E;" FontFamily="{ThemeResource SymbolThemeFontFamily}"
8174
Click="SaveWallpaperButton_Click" ToolTipService.ToolTip="Save Wallpaper" />
82-
</StackPanel>
83-
</Grid>
75+
</StackPanel>
8476
<ProgressRing x:Name="progressRing" IsActive="False" HorizontalAlignment="Center" VerticalAlignment="Center" />
8577
<InfoBar x:Name="infoBar" VerticalAlignment="Bottom" HorizontalAlignment="Center"
8678
Margin="20,0,20,70" Background="{ThemeResource SystemControlAcrylicElementBrush}"

0 commit comments

Comments
 (0)