1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-15 07:43:37 +00:00

code format

This commit is contained in:
André Bispo
2023-07-10 18:36:36 +01:00
parent ce55750e60
commit 8a399235f4
4 changed files with 7 additions and 5 deletions

View File

@@ -28,7 +28,8 @@ namespace Bit.App.Pages
_appOptions = appOptions; _appOptions = appOptions;
} }
protected override void OnAppearing(){ protected override void OnAppearing()
{
_vm.InitAsync(); _vm.InitAsync();
} }

View File

@@ -10,8 +10,8 @@ using Bit.Core.Models.Request;
using Bit.Core.Services; using Bit.Core.Services;
using Bit.Core.Utilities; using Bit.Core.Utilities;
using Xamarin.CommunityToolkit.ObjectModel; using Xamarin.CommunityToolkit.ObjectModel;
using Xamarin.Forms;
using Xamarin.Essentials; using Xamarin.Essentials;
using Xamarin.Forms;
namespace Bit.App.Pages namespace Bit.App.Pages
{ {

View File

@@ -85,7 +85,8 @@ namespace Bit.App.Pages
{ {
get get
{ {
switch (_authRequestType) { switch (_authRequestType)
{
case AuthRequestType.AuthenticateAndUnlock: case AuthRequestType.AuthenticateAndUnlock:
return AppResources.LogInInitiated; return AppResources.LogInInitiated;
case AuthRequestType.AdminApproval: case AuthRequestType.AdminApproval:

View File

@@ -43,7 +43,7 @@ namespace Bit.Core.Services
public async Task<DeviceResponse> TrustDeviceAsync() public async Task<DeviceResponse> TrustDeviceAsync()
{ {
if(!await GetUserTrustDeviceChoiceForDecryptionAsync()) if (!await GetUserTrustDeviceChoiceForDecryptionAsync())
{ {
return null; return null;
} }