mirror of
https://github.com/bitwarden/mobile
synced 2025-12-15 07:43:37 +00:00
code format
This commit is contained in:
@@ -28,7 +28,8 @@ namespace Bit.App.Pages
|
|||||||
_appOptions = appOptions;
|
_appOptions = appOptions;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void OnAppearing(){
|
protected override void OnAppearing()
|
||||||
|
{
|
||||||
_vm.InitAsync();
|
_vm.InitAsync();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user