Skip to content

Commit 85ed026

Browse files
committed
Remove unused icons and converter
1 parent 7d1d382 commit 85ed026

8 files changed

Lines changed: 3 additions & 26 deletions

File tree

-3.21 KB
Binary file not shown.
-3.15 KB
Binary file not shown.
-4.57 KB
Binary file not shown.
-3.64 KB
Binary file not shown.
-6.05 KB
Binary file not shown.

CommunityToolkit.App.Shared/Converters/SubcategoryToIconConverter.cs

Lines changed: 0 additions & 21 deletions
This file was deleted.

CommunityToolkit.App.Shared/Pages/GettingStartedPage.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
HorizontalAlignment="Right"
7373
VerticalAlignment="Top">
7474
<Image x:Name="headerImage"
75-
Source="ms-appx:///sourceassets/animations/samples/assets/icon.png"
75+
Source="{ThemeResource HeaderImage}"
7676
Stretch="UniformToFill" />
7777
</Viewbox>
7878
<Rectangle x:Name="BackdropRect"

CommunityToolkit.App.Shared/Styles/ItemTemplates.xaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
xmlns:meta="using:CommunityToolkit.Tooling.SampleGen.Metadata"
66
xmlns:win="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
77

8-
<converters:IconConverter x:Key="iconConverter" />
9-
108
<!-- Kind of not supported in Uno (at least directly like this) see https://github.com/unoplatform/uno/issues/7582 (and related root issue)
119
<Style x:Key="IndentedGridViewItemStyle"
1210
BasedOn="{StaticResource DefaultGridViewItemStyle}"
@@ -23,7 +21,7 @@
2321
</Grid.ColumnDefinitions>
2422
<Image Width="16">
2523
<Image.Source>
26-
<BitmapImage UriSource="{Binding Icon, Converter={StaticResource iconConverter}}" DecodePixelHeight="16" DecodePixelWidth="16" />
24+
<BitmapImage UriSource="{Binding Icon}" DecodePixelHeight="16" DecodePixelWidth="16" />
2725
</Image.Source>
2826
</Image>
2927
<TextBlock Grid.Column="1"
@@ -74,7 +72,7 @@
7472
VerticalAlignment="Center"
7573
Stretch="Uniform">
7674
<Image.Source>
77-
<BitmapImage UriSource="{Binding Icon, Converter={StaticResource iconConverter}}" />
75+
<BitmapImage UriSource="{Binding Icon}" />
7876
</Image.Source>
7977
</Image>
8078
</Grid>

0 commit comments

Comments
 (0)