1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-16 08:13:20 +00:00

save activity

This commit is contained in:
Kyle Spearrin
2019-05-30 20:24:30 -04:00
parent cf2308a12d
commit ab9bbf7b0f
2 changed files with 4 additions and 6 deletions

View File

@@ -135,6 +135,10 @@ namespace Bit.App
protected async override void OnSleep()
{
System.Diagnostics.Debug.WriteLine("XF App: OnSleep");
if(Device.RuntimePlatform == Device.Android)
{
await _storageService.SaveAsync(Constants.LastActiveKey, DateTime.UtcNow);
}
await HandleLockingAsync();
SetTabsPageFromAutofill();
}