1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-22 03:03:46 +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

@@ -21,7 +21,7 @@ namespace Bit.iOS.Core.Views
var bgColor = UIColor.DarkGray;
var nordTheme = Application.Current?.Resources != null &&
((Color)Application.Current.Resources["BackgroundColor"]) == Color.FromHex("#3b4252");
if(nordTheme)
if (nordTheme)
{
bgColor = Color.FromHex("#4c566a").ToUIColor();
}
@@ -70,7 +70,7 @@ namespace Bit.iOS.Core.Views
public void Show()
{
if(Superview != null)
if (Superview != null)
{
return;
}
@@ -79,7 +79,7 @@ namespace Bit.iOS.Core.Views
LayoutIfNeeded();
var localSuperView = UIApplication.SharedApplication.KeyWindow;
if(localSuperView != null)
if (localSuperView != null)
{
localSuperView.AddSubview(this);
@@ -115,7 +115,7 @@ namespace Bit.iOS.Core.Views
public void Dismiss(bool animated = true)
{
if(Dismissed)
if (Dismissed)
{
return;
}
@@ -124,7 +124,7 @@ namespace Bit.iOS.Core.Views
_dismissTimer?.Invalidate();
_dismissTimer = null;
if(!animated)
if (!animated)
{
RemoveFromSuperview();
DismissCallback?.Invoke();