Skip to content

Commit 85f032a

Browse files
committed
Tags Page
1 parent a5a37b6 commit 85f032a

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/Files.App/Views/Settings/TagsPage.xaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
99
xmlns:datamodels="using:Files.App.Data.Models"
1010
xmlns:helpers="using:Files.App.Helpers"
11-
xmlns:local="using:Files.App.UserControls.Settings"
1211
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
1312
xmlns:vm="using:Files.App.ViewModels.Settings"
13+
xmlns:wctcontrols="using:CommunityToolkit.WinUI.Controls"
1414
xmlns:wctconverters="using:CommunityToolkit.WinUI.Converters"
1515
mc:Ignorable="d">
1616

@@ -47,16 +47,16 @@
4747
Text="{helpers:ResourceString Name=FileTags}" />
4848

4949
<!-- Edit Tags -->
50-
<local:SettingsBlockControl
51-
Title="{helpers:ResourceString Name=FileTags}"
50+
<wctcontrols:SettingsExpander
5251
HorizontalAlignment="Stretch"
52+
Header="{helpers:ResourceString Name=FileTags}"
5353
IsExpanded="True">
54-
<local:SettingsBlockControl.Icon>
54+
<wctcontrols:SettingsExpander.HeaderIcon>
5555
<FontIcon Glyph="&#xE8EC;" />
56-
</local:SettingsBlockControl.Icon>
56+
</wctcontrols:SettingsExpander.HeaderIcon>
5757

5858
<Button Command="{x:Bind ViewModel.AddTagCommand, Mode=OneWay}" Content="{helpers:ResourceString Name=NewTag}" />
59-
<local:SettingsBlockControl.ExpandableContent>
59+
<wctcontrols:SettingsExpander.Items>
6060
<StackPanel>
6161
<!-- Create new tag -->
6262
<Grid
@@ -343,8 +343,8 @@
343343
</ListView.ItemTemplate>
344344
</ListView>
345345
</StackPanel>
346-
</local:SettingsBlockControl.ExpandableContent>
347-
</local:SettingsBlockControl>
346+
</wctcontrols:SettingsExpander.Items>
347+
</wctcontrols:SettingsExpander>
348348
</StackPanel>
349349
</Grid>
350350
</Page>

0 commit comments

Comments
 (0)