File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Source/NETworkManager/ViewModels Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ private static void OpenLocationAction()
103103 Process . Start ( "explorer.exe" , ProfileManager . GetProfilesFolderLocation ( ) ) ;
104104 }
105105
106- public ICommand AddProfileFileCommand => new RelayCommand ( _ => AddProfileFileAction ( ) . ConfigureAwait ( false ) ) ;
106+ public ICommand AddProfileFileCommand => new RelayCommand ( async _ => await AddProfileFileAction ( ) . ConfigureAwait ( false ) ) ;
107107
108108 private async Task AddProfileFileAction ( )
109109 {
@@ -175,7 +175,7 @@ private async Task<bool> ShowEnableEncryptionMessage()
175175 return result ;
176176 }
177177
178- public ICommand EditProfileFileCommand => new RelayCommand ( _ => EditProfileFileAction ( ) . ConfigureAwait ( false ) ) ;
178+ public ICommand EditProfileFileCommand => new RelayCommand ( async _ => await EditProfileFileAction ( ) . ConfigureAwait ( false ) ) ;
179179
180180 private async Task EditProfileFileAction ( )
181181 {
@@ -250,7 +250,7 @@ private Task DeleteProfileFileAction()
250250
251251 private async void EnableEncryptionAction ( )
252252 {
253- if ( await ShowEncryptionDisclaimerAsync ( ) == false )
253+ if ( ! await ShowEncryptionDisclaimerAsync ( ) )
254254 return ;
255255
256256 var customDialog = new CustomDialog
You can’t perform that action at this time.
0 commit comments