Skip to content

Commit bc1867f

Browse files
committed
Genius fix
1 parent 59249e4 commit bc1867f

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/Files.App/ViewModels/Properties/HashesViewModel.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,11 @@ public HashInfoItem SelectedItem
3737
public string HashInput
3838
{
3939
get => _hashInput;
40-
set => SetProperty(ref _hashInput, value);
40+
set
41+
{
42+
OnHashInputTextChanged();
43+
SetProperty(ref _hashInput, value);
44+
}
4145
}
4246

4347
private InfoBarSeverity _infoBarSeverity;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
x:Name="HashInputTextBox"
5959
Grid.Column="0"
6060
PlaceholderText="{helpers:ResourceString Name=EnterHashToCompare}"
61-
Text="{x:Bind HashesViewModel.HashInput, Mode=TwoWay}">
61+
Text="{x:Bind HashesViewModel.HashInput, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}">
6262
<interactivity:Interaction.Behaviors>
6363
<interactivity:EventTriggerBehavior EventName="TextChanged">
6464
<interactivity:InvokeCommandAction Command="{x:Bind HashesViewModel.HashInputTextChangedCommand}" />

0 commit comments

Comments
 (0)