mirror of
https://github.com/bitwarden/mobile
synced 2026-01-08 03:23:23 +00:00
Changed all C# control flow block statements to include space between keyword and open paren (#800)
This commit is contained in:
@@ -11,7 +11,7 @@ namespace Bit.Core.Services
|
||||
|
||||
public Task<T> GetAsync<T>(string key)
|
||||
{
|
||||
if(!_dict.ContainsKey(key))
|
||||
if (!_dict.ContainsKey(key))
|
||||
{
|
||||
return Task.FromResult(default(T));
|
||||
}
|
||||
@@ -20,7 +20,7 @@ namespace Bit.Core.Services
|
||||
|
||||
public Task SaveAsync<T>(string key, T obj)
|
||||
{
|
||||
if(obj == null)
|
||||
if (obj == null)
|
||||
{
|
||||
return RemoveAsync(key);
|
||||
}
|
||||
@@ -30,7 +30,7 @@ namespace Bit.Core.Services
|
||||
|
||||
public Task RemoveAsync(string key)
|
||||
{
|
||||
if(_dict.ContainsKey(key))
|
||||
if (_dict.ContainsKey(key))
|
||||
{
|
||||
_dict.Remove(key);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user