mirror of
https://github.com/wismna/ModernKeePass.git
synced 2025-10-03 23:50:18 -04:00
Create entries and groups put them in Edit mode (as before)
Search now uses KeePassLib search Code cleanup
This commit is contained in:
@@ -15,7 +15,7 @@ namespace ModernKeePass.Common
|
||||
messageDialog.Commands.Add(new UICommand(actionButtonText, actionCommand));
|
||||
|
||||
// Show the message dialog
|
||||
await messageDialog.ShowAsync().AsTask();
|
||||
await messageDialog.ShowAsync().AsTask().ConfigureAwait(false);
|
||||
}
|
||||
|
||||
public static async Task ShowErrorDialog(Exception exception)
|
||||
@@ -25,7 +25,7 @@ namespace ModernKeePass.Common
|
||||
var messageDialog = CreateBasicDialog(exception.Message, exception.StackTrace, "OK");
|
||||
|
||||
// Show the message dialog
|
||||
await messageDialog.ShowAsync().AsTask();;
|
||||
await messageDialog.ShowAsync().AsTask().ConfigureAwait(false);
|
||||
}
|
||||
|
||||
public static async Task ShowNotificationDialog(string title, string message)
|
||||
@@ -33,7 +33,7 @@ namespace ModernKeePass.Common
|
||||
var dialog = CreateBasicDialog(title, message, "OK");
|
||||
|
||||
// Show the message dialog
|
||||
await dialog.ShowAsync().AsTask();;
|
||||
await dialog.ShowAsync().AsTask().ConfigureAwait(false);
|
||||
}
|
||||
|
||||
private static MessageDialog CreateBasicDialog(string title, string message, string dismissActionText, UICommandInvokedHandler cancelCommand = null)
|
||||
|
Reference in New Issue
Block a user