fix entry notification being closed immediately after opening when there are TOTP fields in the entry (closes #799)

This commit is contained in:
Philipp Crocoll
2019-08-19 14:32:29 +02:00
parent 1f20c18ad6
commit c35cf56d8a

View File

@@ -61,7 +61,7 @@ namespace PluginTOTP
App.Kp2a.LastOpenedEntry.OutputStrings.Set(_totp, new ProtectedString(true, totp));
Intent updateKeyboardIntent = new Intent(_context, typeof(CopyToClipboardService));
updateKeyboardIntent.SetAction(Intents.UpdateKeyboard);
updateKeyboardIntent.PutExtra("entry", App.Kp2a.LastOpenedEntry.Uuid.ToHexString());
updateKeyboardIntent.PutExtra(EntryActivity.KeyEntry, new ElementAndDatabaseId(App.Kp2a.FindDatabaseForElement(App.Kp2a.LastOpenedEntry.Entry), App.Kp2a.LastOpenedEntry.Entry).FullId);
_context.StartService(updateKeyboardIntent);
}