File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
src/Files.App/ViewModels/Properties Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,6 @@ public string HashInput
4242
4343 OnHashInputTextChanged ( ) ;
4444 OnPropertyChanged ( nameof ( IsInfoBarOpen ) ) ;
45- IsInfoBarOpen = ! string . IsNullOrEmpty ( value ) ;
4645 }
4746 }
4847
@@ -60,12 +59,8 @@ public string InfoBarTitle
6059 set => SetProperty ( ref _infoBarTitle , value ) ;
6160 }
6261
63- private bool _isInfoBarOpen ;
6462 public bool IsInfoBarOpen
65- {
66- get => _isInfoBarOpen ;
67- set => SetProperty ( ref _isInfoBarOpen , value ) ;
68- }
63+ => ! string . IsNullOrEmpty ( HashInput ) ;
6964
7065 public HashesViewModel ( ListedItem item )
7166 {
@@ -241,7 +236,6 @@ private async Task OnCompareFileAsync()
241236 HashInput = string . Empty ;
242237 }
243238
244- IsInfoBarOpen = true ;
245239 }
246240
247241 public void Dispose ( )
You can’t perform that action at this time.
0 commit comments