From c2c73d54606161b99199803e7bd82677ea58ddf8 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Tue, 2 Jul 2019 13:15:00 -0400 Subject: [PATCH] autofill pages for ios --- src/App/App.csproj | 6 ++ src/App/Pages/Settings/AutofillPage.xaml | 48 +++++++++ src/App/Pages/Settings/AutofillPage.xaml.cs | 20 ++++ src/App/Pages/Settings/ExtensionPage.xaml | 99 +++++++++++++++++++ src/App/Pages/Settings/ExtensionPage.xaml.cs | 46 +++++++++ .../Pages/Settings/ExtensionPageViewModel.cs | 80 +++++++++++++++ .../SettingsPage/SettingsPage.xaml.cs | 4 +- src/iOS.Extension/SetupViewController.cs | 2 +- src/iOS/AppDelegate.cs | 15 +-- 9 files changed, 311 insertions(+), 9 deletions(-) create mode 100644 src/App/Pages/Settings/AutofillPage.xaml create mode 100644 src/App/Pages/Settings/AutofillPage.xaml.cs create mode 100644 src/App/Pages/Settings/ExtensionPage.xaml create mode 100644 src/App/Pages/Settings/ExtensionPage.xaml.cs create mode 100644 src/App/Pages/Settings/ExtensionPageViewModel.cs diff --git a/src/App/App.csproj b/src/App/App.csproj index 701e66807..2c0c961a5 100644 --- a/src/App/App.csproj +++ b/src/App/App.csproj @@ -51,6 +51,12 @@ GeneratorHistoryPage.xaml + + AutofillPage.xaml + + + ExtensionPage.xaml + AutofillServicePage.xaml diff --git a/src/App/Pages/Settings/AutofillPage.xaml b/src/App/Pages/Settings/AutofillPage.xaml new file mode 100644 index 000000000..cb54cd74f --- /dev/null +++ b/src/App/Pages/Settings/AutofillPage.xaml @@ -0,0 +1,48 @@ + + + + + + + + + + + + + diff --git a/src/App/Pages/Settings/AutofillPage.xaml.cs b/src/App/Pages/Settings/AutofillPage.xaml.cs new file mode 100644 index 000000000..b3c7efb59 --- /dev/null +++ b/src/App/Pages/Settings/AutofillPage.xaml.cs @@ -0,0 +1,20 @@ +using System; + +namespace Bit.App.Pages +{ + public partial class AutofillPage : BaseContentPage + { + public AutofillPage() + { + InitializeComponent(); + } + + private void Close_Clicked(object sender, EventArgs e) + { + if(DoOnce()) + { + Navigation.PopModalAsync(); + } + } + } +} diff --git a/src/App/Pages/Settings/ExtensionPage.xaml b/src/App/Pages/Settings/ExtensionPage.xaml new file mode 100644 index 000000000..4583e47b4 --- /dev/null +++ b/src/App/Pages/Settings/ExtensionPage.xaml @@ -0,0 +1,99 @@ + + + + + + + + + + + + + +