mirror of
https://github.com/bitwarden/android.git
synced 2024-12-18 23:31:52 +03:00
Use DateTime.Now for background date
This commit is contained in:
parent
be9750770a
commit
775fb69a82
2 changed files with 2 additions and 2 deletions
|
@ -163,7 +163,7 @@ namespace Bit.iOS.Extension
|
|||
return;
|
||||
}
|
||||
|
||||
Resolver.Resolve<ISettings>().AddOrUpdateValue(App.Constants.SettingLastBackgroundedDate, DateTime.UtcNow);
|
||||
Resolver.Resolve<ISettings>().AddOrUpdateValue(App.Constants.SettingLastBackgroundedDate, DateTime.Now);
|
||||
|
||||
var item = _tableItems.ElementAt(indexPath.Row);
|
||||
if(item == null)
|
||||
|
|
|
@ -138,7 +138,7 @@ namespace Bit.iOS
|
|||
|
||||
// Log the date/time we last backgrounded
|
||||
|
||||
Settings.AddOrUpdateValue(Bit.App.Constants.SettingLastBackgroundedDate, DateTime.UtcNow);
|
||||
Settings.AddOrUpdateValue(Bit.App.Constants.SettingLastBackgroundedDate, DateTime.Now);
|
||||
|
||||
base.DidEnterBackground(uiApplication);
|
||||
Debug.WriteLine("DidEnterBackground");
|
||||
|
|
Loading…
Reference in a new issue