1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-19 09:43:27 +00:00

Changed all C# control flow block statements to include space between keyword and open paren (#800)

This commit is contained in:
Chad Scharf
2020-03-28 09:16:28 -04:00
committed by GitHub
parent 6c00ac43fc
commit 3c18fd7636
225 changed files with 2406 additions and 2406 deletions

View File

@@ -34,7 +34,7 @@ namespace Bit.Core.Services
public async Task<List<List<string>>> GetEquivalentDomainsAsync()
{
var settings = await GetSettingsAsync();
if(settings != null && settings.ContainsKey(Keys_EquivalentDomains))
if (settings != null && settings.ContainsKey(Keys_EquivalentDomains))
{
var jArray = (settings[Keys_EquivalentDomains] as JArray);
return jArray?.ToObject<List<List<string>>>() ?? new List<List<string>>();
@@ -57,7 +57,7 @@ namespace Bit.Core.Services
private async Task<Dictionary<string, object>> GetSettingsAsync()
{
if(_settingsCache == null)
if (_settingsCache == null)
{
var userId = await _userService.GetUserIdAsync();
_settingsCache = await _storageService.GetAsync<Dictionary<string, object>>(
@@ -70,11 +70,11 @@ namespace Bit.Core.Services
{
var userId = await _userService.GetUserIdAsync();
var settings = await GetSettingsAsync();
if(settings == null)
if (settings == null)
{
settings = new Dictionary<string, object>();
}
if(settings.ContainsKey(key))
if (settings.ContainsKey(key))
{
settings[key] = value;
}