mirror of
https://github.com/bitwarden/mobile
synced 2026-01-10 12:33:28 +00:00
[PM-2671] Update mobile client to use regions (#2798)
* [PM-2671] Update mobile client to use regions * [PM-2671] Refactor * [PM-2671] Move migration of region to migration service. * [PM-2671] Move comment * [PM-2671] Change method name * [PM-2671] Change method name on usages --------- Co-authored-by: Federico Maccaroni <fedemkr@gmail.com>
This commit is contained in:
@@ -102,12 +102,14 @@ namespace Bit.Core.Models.Domain
|
||||
return;
|
||||
}
|
||||
|
||||
Region = copy.Region;
|
||||
EnvironmentUrls = copy.EnvironmentUrls;
|
||||
VaultTimeout = copy.VaultTimeout;
|
||||
VaultTimeoutAction = copy.VaultTimeoutAction;
|
||||
ScreenCaptureAllowed = copy.ScreenCaptureAllowed;
|
||||
}
|
||||
|
||||
public Region? Region;
|
||||
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;
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
namespace Bit.Core.Models.Domain
|
||||
{
|
||||
public class EnvironmentUrls
|
||||
{
|
||||
public string Base { get; set; }
|
||||
public string Api { get; set; }
|
||||
public string Identity { get; set; }
|
||||
public string Events { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user