1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-11-26 12:16:07 +01:00

Use DateTime.Now for background date

This commit is contained in:
Kyle Spearrin 2016-08-01 23:57:09 -04:00
parent be9750770a
commit 775fb69a82
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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");