Update credentials better looking

This commit is contained in:
Geoffroy BONNEVILLE
2020-04-30 15:32:42 +02:00
parent d2814c6c67
commit 1b981b00d5
8 changed files with 145 additions and 45 deletions

View File

@@ -85,10 +85,10 @@ namespace ModernKeePass
? exception.InnerException
: exception;
_hockey.TrackException(realException);
if (realException is SaveException)
{
unhandledExceptionEventArgs.Handled = true;
_hockey.TrackException(realException);
await _dialog.ShowMessage(realException.Message,
_resource.GetResourceValue("MessageDialogSaveErrorTitle"),
_resource.GetResourceValue("MessageDialogSaveErrorButtonSaveAs"),
@@ -116,10 +116,6 @@ namespace ModernKeePass
}
});
}
else
{
await _dialog.ShowError(realException, realException.Message, "OK", () => {});
}
}
/// <summary>