Corrected issue where entry information was not showing anymore

This commit is contained in:
Geoffroy BONNEVILLE
2020-04-30 16:39:39 +02:00
parent 1b981b00d5
commit e5353478f4
6 changed files with 23 additions and 22 deletions

View File

@@ -88,6 +88,7 @@ namespace ModernKeePass
_hockey.TrackException(realException);
if (realException is SaveException)
{
// TODO: this is not working
unhandledExceptionEventArgs.Handled = true;
await _dialog.ShowMessage(realException.Message,
_resource.GetResourceValue("MessageDialogSaveErrorTitle"),
@@ -107,7 +108,7 @@ namespace ModernKeePass
_resource.GetResourceValue("MessageDialogSaveErrorFileTypeDesc"),
new List<string> {".kdbx"});
var file = await savePicker.PickSaveFileAsync().AsTask();
var file = await savePicker.PickSaveFileAsync();
if (file != null)
{
var token = StorageApplicationPermissions.FutureAccessList.Add(file, file.Name);