mirror of
https://github.com/bitwarden/mobile
synced 2025-12-05 23:53:33 +00:00
* Bootstrap new classes for settings list * [SG-834] Add new method GetActivePasswordlessLoginRequestsAsync to AuthService * [SG-834] Add generic handle exception method to BaseViewModel * [SG-834] Add request verification to settings entry * [SG-834] Add text resources * [SG-834] Update view and viewmodel * [SG-834] Remove unnecessary property assignment * [SG-834] removed logger resolve
39 lines
1014 B
C#
39 lines
1014 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using Bit.Core.Abstractions;
|
|
using Bit.Core.Models.Response;
|
|
using Bit.Core.Utilities;
|
|
using Xamarin.Forms;
|
|
|
|
namespace Bit.App.Pages
|
|
{
|
|
public partial class LoginPasswordlessRequestsListPage : BaseContentPage
|
|
{
|
|
private LoginPasswordlessRequestsListViewModel _vm;
|
|
|
|
public LoginPasswordlessRequestsListPage()
|
|
{
|
|
InitializeComponent();
|
|
SetActivityIndicator(_mainContent);
|
|
_vm = BindingContext as LoginPasswordlessRequestsListViewModel;
|
|
_vm.Page = this;
|
|
}
|
|
|
|
protected override async void OnAppearing()
|
|
{
|
|
base.OnAppearing();
|
|
await LoadOnAppearedAsync(_mainLayout, false, _vm.RefreshAsync, _mainContent);
|
|
}
|
|
|
|
private async void Close_Clicked(object sender, System.EventArgs e)
|
|
{
|
|
if (DoOnce())
|
|
{
|
|
await Navigation.PopModalAsync();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|