mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 18:08:26 +03:00
restrictions apparantly cannot have a null default value
This commit is contained in:
parent
033b2b9ba0
commit
30d6a4d9eb
2 changed files with 2 additions and 2 deletions
|
@ -5,5 +5,5 @@
|
|||
android:title="@string/SelfHostedServerUrl"
|
||||
android:restrictionType="string"
|
||||
android:description="@string/ServerUrl"
|
||||
android:defaultValue="@null" />
|
||||
android:defaultValue="" />
|
||||
</restrictions>
|
||||
|
|
|
@ -163,7 +163,7 @@ namespace Bit.App.Utilities
|
|||
{
|
||||
await environmentService.SetUrlsAsync(new Core.Models.Data.EnvironmentUrlData
|
||||
{
|
||||
Base = setting.Value,
|
||||
Base = string.IsNullOrWhiteSpace(setting.Value) ? null : setting.Value,
|
||||
Api = environmentService.ApiUrl,
|
||||
Identity = environmentService.IdentityUrl,
|
||||
WebVault = environmentService.WebVaultUrl,
|
||||
|
|
Loading…
Reference in a new issue