1
0
mirror of https://github.com/bitwarden/mobile synced 2026-01-04 09:33:16 +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

@@ -18,7 +18,7 @@ namespace Bit.App.Pages
_vm.Page = this;
_vm.CipherId = cipherId;
SetActivityIndicator();
if(Device.RuntimePlatform == Device.Android)
if (Device.RuntimePlatform == Device.Android)
{
ToolbarItems.RemoveAt(0);
}
@@ -29,7 +29,7 @@ namespace Bit.App.Pages
base.OnAppearing();
_broadcasterService.Subscribe(nameof(AttachmentsPage), (message) =>
{
if(message.Command == "selectFileResult")
if (message.Command == "selectFileResult")
{
Device.BeginInvokeOnMainThread(() =>
{
@@ -45,7 +45,7 @@ namespace Bit.App.Pages
protected override void OnDisappearing()
{
base.OnDisappearing();
if(Device.RuntimePlatform != Device.iOS)
if (Device.RuntimePlatform != Device.iOS)
{
_broadcasterService.Unsubscribe(nameof(AttachmentsPage));
}
@@ -53,7 +53,7 @@ namespace Bit.App.Pages
private async void Save_Clicked(object sender, EventArgs e)
{
if(DoOnce())
if (DoOnce())
{
await _vm.SubmitAsync();
}
@@ -61,7 +61,7 @@ namespace Bit.App.Pages
private async void ChooseFile_Clicked(object sender, EventArgs e)
{
if(DoOnce())
if (DoOnce())
{
await _vm.ChooseFileAsync();
}
@@ -69,7 +69,7 @@ namespace Bit.App.Pages
private async void Close_Clicked(object sender, System.EventArgs e)
{
if(DoOnce())
if (DoOnce())
{
await Navigation.PopModalAsync();
}