mirror of
https://github.com/bitwarden/android.git
synced 2025-01-12 19:27:37 +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:title="@string/SelfHostedServerUrl"
|
||||||
android:restrictionType="string"
|
android:restrictionType="string"
|
||||||
android:description="@string/ServerUrl"
|
android:description="@string/ServerUrl"
|
||||||
android:defaultValue="@null" />
|
android:defaultValue="" />
|
||||||
</restrictions>
|
</restrictions>
|
||||||
|
|
|
@ -163,7 +163,7 @@ namespace Bit.App.Utilities
|
||||||
{
|
{
|
||||||
await environmentService.SetUrlsAsync(new Core.Models.Data.EnvironmentUrlData
|
await environmentService.SetUrlsAsync(new Core.Models.Data.EnvironmentUrlData
|
||||||
{
|
{
|
||||||
Base = setting.Value,
|
Base = string.IsNullOrWhiteSpace(setting.Value) ? null : setting.Value,
|
||||||
Api = environmentService.ApiUrl,
|
Api = environmentService.ApiUrl,
|
||||||
Identity = environmentService.IdentityUrl,
|
Identity = environmentService.IdentityUrl,
|
||||||
WebVault = environmentService.WebVaultUrl,
|
WebVault = environmentService.WebVaultUrl,
|
||||||
|
|
Loading…
Reference in a new issue