1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-10 21:33:36 +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

@@ -22,12 +22,6 @@ namespace Bit.App.Pages
SaveActivity();
}
protected override void OnDisappearing()
{
base.OnDisappearing();
SaveActivity();
}
public bool DoOnce(Action action = null, int milliseconds = 1000)
{
if(LastPageAction.HasValue && (DateTime.UtcNow - LastPageAction.Value).TotalMilliseconds < milliseconds)