Skip to content

Commit 6ea4a9c

Browse files
Fix: Fixed issue where it didn't work to edit/remove startup page (#10880)
1 parent cc94bdd commit 6ea4a9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Files.App/Views/SettingsPages/Preferences.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,12 +189,12 @@
189189
<AppBarButton
190190
Command="{x:Bind ViewModel.ChangePageCommand}"
191191
Icon="Edit"
192-
IsEnabled="{x:Bind ViewModel.IsPageListEditEnabled}"
192+
IsEnabled="{x:Bind ViewModel.IsPageListEditEnabled, Mode=OneWay}"
193193
Label="{helpers:ResourceString Name=Edit}" />
194194
<AppBarButton
195195
Command="{x:Bind ViewModel.RemovePageCommand}"
196196
Icon="Delete"
197-
IsEnabled="{x:Bind ViewModel.IsPageListEditEnabled}"
197+
IsEnabled="{x:Bind ViewModel.IsPageListEditEnabled, Mode=OneWay}"
198198
Label="{helpers:ResourceString Name=Remove}" />
199199
</CommandBar>
200200

0 commit comments

Comments
 (0)