mirror of
https://github.com/bitwarden/android.git
synced 2024-12-25 02:18:27 +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