mirror of
https://github.com/bitwarden/mobile
synced 2025-12-05 23:53:33 +00:00
[PM-1351][PM-190] Add a mobile service to retrieve feature flags from API (#2431)
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
{
|
||||
public class EnvironmentUrlData
|
||||
{
|
||||
public static EnvironmentUrlData DefaultUS = new EnvironmentUrlData { Base = "https://vault.bitwarden.com" };
|
||||
public static EnvironmentUrlData DefaultEU = new EnvironmentUrlData { Base = "https://vault.bitwarden.eu" };
|
||||
|
||||
public string Base { get; set; }
|
||||
public string Api { get; set; }
|
||||
public string Identity { get; set; }
|
||||
@@ -9,5 +12,13 @@
|
||||
public string Notifications { get; set; }
|
||||
public string WebVault { get; set; }
|
||||
public string Events { get; set; }
|
||||
|
||||
public bool IsEmpty => string.IsNullOrEmpty(Base)
|
||||
&& string.IsNullOrEmpty(Api)
|
||||
&& string.IsNullOrEmpty(Identity)
|
||||
&& string.IsNullOrEmpty(Icons)
|
||||
&& string.IsNullOrEmpty(Notifications)
|
||||
&& string.IsNullOrEmpty(WebVault)
|
||||
&& string.IsNullOrEmpty(Events);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user