Skip to content

Commit b13c64f

Browse files
Lamparteryaira2
authored andcommitted
Convert bindings back to OneWay
1 parent d9f33d8 commit b13c64f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Files.App/Views/Properties/HashesPage.xaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@
8383
Grid.Column="0"
8484
Margin="12,75,12,12"
8585
IsClosable="False"
86-
IsOpen="{x:Bind HashesViewModel.IsInfoBarOpen, Mode=TwoWay}"
87-
Message="{x:Bind HashesViewModel.InfoBarTitle, Mode=TwoWay}"
88-
Severity="{x:Bind HashesViewModel.InfoBarSeverity, Mode=TwoWay}" />
86+
IsOpen="{x:Bind HashesViewModel.IsInfoBarOpen, Mode=OneWay}"
87+
Message="{x:Bind HashesViewModel.InfoBarTitle, Mode=OneWay}"
88+
Severity="{x:Bind HashesViewModel.InfoBarSeverity, Mode=OneWay}" />
8989

9090
<Grid
9191
x:Name="HashesListGrid"
@@ -99,8 +99,8 @@
9999
<!-- Hashes ListView -->
100100
<ListView
101101
x:Name="HashesListView"
102-
ItemsSource="{x:Bind HashesViewModel.Hashes, Mode=TwoWay}"
103-
SelectedItem="{x:Bind HashesViewModel.SelectedItem, Mode=TwoWay}">
102+
ItemsSource="{x:Bind HashesViewModel.Hashes, Mode=OneWay}"
103+
SelectedItem="{x:Bind HashesViewModel.SelectedItem, Mode=OneWay}">
104104

105105
<!-- Header -->
106106
<ListView.Header>

0 commit comments

Comments
 (0)