mirror of
https://github.com/bitwarden/android.git
synced 2024-11-02 08:03:56 +03:00
25 lines
505 B
C#
25 lines
505 B
C#
|
using System;
|
|||
|
|
|||
|
namespace Bit.App.Pages
|
|||
|
{
|
|||
|
public partial class SyncPage : BaseContentPage
|
|||
|
{
|
|||
|
private readonly SyncPageViewModel _vm;
|
|||
|
|
|||
|
public SyncPage()
|
|||
|
{
|
|||
|
InitializeComponent();
|
|||
|
_vm = BindingContext as SyncPageViewModel;
|
|||
|
_vm.Page = this;
|
|||
|
}
|
|||
|
|
|||
|
private async void Sync_Clicked(object sender, EventArgs e)
|
|||
|
{
|
|||
|
if(DoOnce())
|
|||
|
{
|
|||
|
await _vm.SyncAsync();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|