mirror of
https://github.com/bitwarden/mobile
synced 2025-12-20 10:13:42 +00:00
delay credential clear when no passwords
This commit is contained in:
@@ -219,9 +219,18 @@ namespace Bit.Android
|
|||||||
cancelNotification = false;
|
cancelNotification = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
AutofillActivity.LastCredentials = null;
|
AutofillActivity.LastCredentials = null;
|
||||||
|
}
|
||||||
|
else if(AutofillActivity.LastCredentials != null)
|
||||||
|
{
|
||||||
|
System.Threading.Tasks.Task.Run(async () =>
|
||||||
|
{
|
||||||
|
await System.Threading.Tasks.Task.Delay(1000);
|
||||||
|
AutofillActivity.LastCredentials = null;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
passwordNodes.Dispose();
|
passwordNodes.Dispose();
|
||||||
return cancelNotification;
|
return cancelNotification;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user