1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-23 03:33:59 +00:00

[PS-2280] Retain app settings on logout (#2366)

* [PS-2280] Retain app settings on logout

* adjustments
This commit is contained in:
mp-bw
2023-02-15 12:50:02 -05:00
committed by GitHub
parent 44e5682b1d
commit e7d6783156
8 changed files with 148 additions and 178 deletions

View File

@@ -1,4 +1,5 @@
using Bit.Core.Enums;
using System;
using Bit.Core.Enums;
using Bit.Core.Models.Data;
namespace Bit.Core.Models.Domain
@@ -104,9 +105,12 @@ namespace Bit.Core.Models.Domain
}
public EnvironmentUrlData EnvironmentUrls;
[Obsolete("Feb 10 2023: VaultTimeout has been deprecated in favor of stored prefs to retain value after logout. It remains here to allow for migration during app upgrade.")]
public int? VaultTimeout;
[Obsolete("Feb 10 2023: VaultTimeoutAction has been deprecated in favor of stored prefs to retain value after logout. It remains here to allow for migration during app upgrade.")]
public VaultTimeoutAction? VaultTimeoutAction;
public bool ScreenCaptureAllowed;
[Obsolete("Feb 10 2023: ScreenCaptureAllowed has been deprecated in favor of stored prefs to retain value after logout. It remains here to allow for migration during app upgrade.")]
public bool? ScreenCaptureAllowed;
}
public class AccountVolatileData