mirror of
https://github.com/bitwarden/mobile
synced 2025-12-17 16:53:26 +00:00
Changed all C# control flow block statements to include space between keyword and open paren (#800)
This commit is contained in:
@@ -35,7 +35,7 @@ namespace Bit.iOS.Autofill
|
||||
var storageService = ServiceContainer.Resolve<IStorageService>("storageService");
|
||||
var needsAutofillReplacement = await storageService.GetAsync<bool?>(
|
||||
Core.Constants.AutofillNeedsIdentityReplacementKey);
|
||||
if(needsAutofillReplacement.GetValueOrDefault())
|
||||
if (needsAutofillReplacement.GetValueOrDefault())
|
||||
{
|
||||
await ASHelpers.ReplaceAllIdentities();
|
||||
}
|
||||
@@ -58,14 +58,14 @@ namespace Bit.iOS.Autofill
|
||||
|
||||
public override void PrepareForSegue(UIStoryboardSegue segue, NSObject sender)
|
||||
{
|
||||
if(segue.DestinationViewController is UINavigationController navController)
|
||||
if (segue.DestinationViewController is UINavigationController navController)
|
||||
{
|
||||
if(navController.TopViewController is LoginAddViewController addLoginController)
|
||||
if (navController.TopViewController is LoginAddViewController addLoginController)
|
||||
{
|
||||
addLoginController.Context = Context;
|
||||
addLoginController.LoginListController = this;
|
||||
}
|
||||
if(navController.TopViewController is LoginSearchViewController searchLoginController)
|
||||
if (navController.TopViewController is LoginSearchViewController searchLoginController)
|
||||
{
|
||||
searchLoginController.Context = Context;
|
||||
searchLoginController.CPViewController = CPViewController;
|
||||
|
||||
Reference in New Issue
Block a user