1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-20 18:23:51 +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

@@ -49,19 +49,19 @@ namespace Bit.App.Services
public async Task<T> GetAsync<T>(string key)
{
if(_preferenceStorageKeys.Contains(key))
if (_preferenceStorageKeys.Contains(key))
{
var prefValue = await _preferencesStorageService.GetAsync<T>(key);
if(prefValue != null || !_migrateToPreferences.Contains(key) ||
if (prefValue != null || !_migrateToPreferences.Contains(key) ||
_haveMigratedToPreferences.Contains(key))
{
return prefValue;
}
}
var liteDbValue = await _liteDbStorageService.GetAsync<T>(key);
if(_migrateToPreferences.Contains(key))
if (_migrateToPreferences.Contains(key))
{
if(liteDbValue != null)
if (liteDbValue != null)
{
await _preferencesStorageService.SaveAsync(key, liteDbValue);
await _liteDbStorageService.RemoveAsync(key);
@@ -73,7 +73,7 @@ namespace Bit.App.Services
public Task SaveAsync<T>(string key, T obj)
{
if(_preferenceStorageKeys.Contains(key))
if (_preferenceStorageKeys.Contains(key))
{
return _preferencesStorageService.SaveAsync(key, obj);
}
@@ -82,7 +82,7 @@ namespace Bit.App.Services
public Task RemoveAsync(string key)
{
if(_preferenceStorageKeys.Contains(key))
if (_preferenceStorageKeys.Contains(key))
{
return _preferencesStorageService.RemoveAsync(key);
}