2019-05-29 09:08:47 -04:00
|
|
|
|
using System;
|
2019-05-29 14:11:15 -04:00
|
|
|
|
using Xamarin.Forms;
|
2019-05-29 09:08:47 -04:00
|
|
|
|
|
|
|
|
|
namespace Bit.App.Pages
|
|
|
|
|
{
|
|
|
|
|
public partial class OptionsPage : BaseContentPage
|
|
|
|
|
{
|
|
|
|
|
private readonly OptionsPageViewModel _vm;
|
|
|
|
|
|
|
|
|
|
public OptionsPage()
|
|
|
|
|
{
|
|
|
|
|
InitializeComponent();
|
|
|
|
|
_vm = BindingContext as OptionsPageViewModel;
|
|
|
|
|
_vm.Page = this;
|
2019-05-29 14:11:15 -04:00
|
|
|
|
_themePicker.ItemDisplayBinding = new Binding("Value");
|
|
|
|
|
_uriMatchPicker.ItemDisplayBinding = new Binding("Value");
|
|
|
|
|
_clearClipboardPicker.ItemDisplayBinding = new Binding("Value");
|
2019-05-29 09:08:47 -04:00
|
|
|
|
}
|
|
|
|
|
|
2019-05-29 09:36:57 -04:00
|
|
|
|
protected async override void OnAppearing()
|
2019-05-29 09:08:47 -04:00
|
|
|
|
{
|
|
|
|
|
base.OnAppearing();
|
2019-05-29 09:36:57 -04:00
|
|
|
|
await _vm.InitAsync();
|
2019-05-29 09:08:47 -04:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|