Skip to content

Commit c4441bf

Browse files
committed
Convert ItemsSource to OneWay binding
1 parent 33813e0 commit c4441bf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- Copyright (c) Files Community. Licensed under the MIT License. -->
1+
<!-- Copyright (c) Files Community. Licensed under the MIT License. -->
22
<vm:BasePropertiesPage
33
x:Class="Files.App.Views.Properties.HashesPage"
44
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
@@ -50,7 +50,7 @@
5050
<TextBox
5151
x:Name="HashInputTextBox"
5252
PlaceholderText="{helpers:ResourceString Name=EnterHashToCompare}"
53-
Text="{x:Bind HashesViewModel.HashInput, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
53+
Text="{x:Bind HashesViewModel.HashInput, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
5454
</Grid>
5555

5656
<!-- Compare File Button -->
@@ -84,7 +84,7 @@
8484
<!-- Hashes ListView -->
8585
<ListView
8686
x:Name="HashesListView"
87-
ItemsSource="{x:Bind HashesViewModel.Hashes, Mode=TwoWay}"
87+
ItemsSource="{x:Bind HashesViewModel.Hashes, Mode=OneWay}"
8888
SelectedItem="{x:Bind HashesViewModel.SelectedItem, Mode=TwoWay}">
8989

9090
<!-- Header -->

0 commit comments

Comments
 (0)