fix entry notification being closed immediately after opening when there are TOTP fields in the entry (closes #799)
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user