1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-20 02:03:49 +00:00

Run dotnet format (#1738)

This commit is contained in:
Oscar Hinton
2022-04-26 17:21:17 +02:00
committed by GitHub
parent e0efcfbe45
commit 04539af2a6
222 changed files with 723 additions and 706 deletions

View File

@@ -1,16 +1,16 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Bit.App.Abstractions;
using Bit.App.Resources;
using Bit.App.Utilities;
using Bit.Core;
using Bit.Core.Abstractions;
using Bit.Core.Enums;
using Bit.Core.Exceptions;
using Bit.Core.Models.View;
using Bit.Core.Utilities;
using Bit.Core;
using Xamarin.Forms;
namespace Bit.App.Pages
@@ -233,7 +233,7 @@ namespace Bit.App.Pages
set
{
SetProperty(ref _totpLow, value);
Page.Resources["textTotp"] = ThemeManager.Resources()[value ? "text-danger" : "text-default"];
Page.Resources["textTotp"] = ThemeManager.Resources()[value ? "text-danger" : "text-default"];
}
}
public bool IsDeleted => Cipher.IsDeleted;
@@ -285,7 +285,7 @@ namespace Bit.App.Pages
public async void TogglePassword()
{
if (! await PromptPasswordAsync())
if (!await PromptPasswordAsync())
{
return;
}
@@ -613,7 +613,7 @@ namespace Bit.App.Pages
_attachmentData = null;
_attachmentFilename = null;
}
private async void CopyAsync(string id, string text = null)
{
if (_passwordRepromptService.ProtectedFields.Contains(id) && !await PromptPasswordAsync())