mirror of
https://github.com/bitwarden/mobile
synced 2025-12-27 21:53:57 +00:00
update autofill identities if needed
This commit is contained in:
@@ -96,6 +96,15 @@ namespace Bit.iOS
|
||||
{
|
||||
ListenYubiKey((bool)message.Data);
|
||||
}
|
||||
else if(message.Command == "unlocked")
|
||||
{
|
||||
var needsAutofillReplacement = await _storageService.GetAsync<bool?>(
|
||||
Core.Constants.AutofillNeedsIdentityReplacementKey);
|
||||
if(needsAutofillReplacement.GetValueOrDefault())
|
||||
{
|
||||
await ASHelpers.ReplaceAllIdentities();
|
||||
}
|
||||
}
|
||||
else if(message.Command == "showAppExtension")
|
||||
{
|
||||
Device.BeginInvokeOnMainThread(() => ShowAppExtension((ExtensionPageViewModel)message.Data));
|
||||
|
||||
Reference in New Issue
Block a user