File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
src/Files.App/ViewModels/Properties Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -165,9 +165,7 @@ public string FindMatchingAlgorithm(string hash)
165165 if ( string . IsNullOrEmpty ( hash ) )
166166 return string . Empty ;
167167
168- return Hashes
169- . FirstOrDefault ( h => h . HashValue ? . Equals ( hash , StringComparison . OrdinalIgnoreCase ) == true )
170- ? . Algorithm ?? string . Empty ;
168+ return Hashes . FirstOrDefault ( h => h . HashValue ? . Equals ( hash , StringComparison . OrdinalIgnoreCase ) == true ) ? . Algorithm ?? string . Empty ;
171169 }
172170
173171 public async Task < string > CalculateFileHashAsync ( string filePath )
@@ -200,8 +198,7 @@ private async Task OnCompareFileAsync()
200198 false ,
201199 [ ] ,
202200 Environment . SpecialFolder . Desktop ,
203- out var filePath
204- ) ;
201+ out var filePath ) ;
205202
206203 HashInput = result && filePath != null
207204 ? await CalculateFileHashAsync ( filePath )
You can’t perform that action at this time.
0 commit comments