mirror of
https://github.com/bitwarden/mobile.git
synced 2024-12-26 16:57:59 +01:00
Fix for EMM system configuration for mobile (#1434)
This commit is contained in:
parent
f79ff3fd63
commit
7f7b673b0a
@ -149,7 +149,9 @@ namespace Bit.Droid
|
||||
}
|
||||
catch { }
|
||||
}
|
||||
var setRestrictions = AndroidHelpers.SetPreconfiguredRestrictionSettingsAsync(this);
|
||||
AndroidHelpers.SetPreconfiguredRestrictionSettingsAsync(this)
|
||||
.GetAwaiter()
|
||||
.GetResult();
|
||||
}
|
||||
|
||||
protected override void OnNewIntent(Intent intent)
|
||||
|
@ -381,7 +381,7 @@ namespace Bit.App.Utilities
|
||||
|
||||
public static async Task SetPreconfiguredSettingsAsync(IDictionary<string, string> configSettings)
|
||||
{
|
||||
if (configSettings?.Any() ?? true)
|
||||
if (configSettings?.Any() != true)
|
||||
{
|
||||
return;
|
||||
}
|
||||
@ -403,7 +403,7 @@ namespace Bit.App.Utilities
|
||||
Icons = environmentService.IconsUrl
|
||||
});
|
||||
}
|
||||
break;
|
||||
return;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user