diff --git a/src/App/Pages/Generator/GeneratorHistoryPage.xaml b/src/App/Pages/Generator/GeneratorHistoryPage.xaml
index 48f635d52..8e74dea42 100644
--- a/src/App/Pages/Generator/GeneratorHistoryPage.xaml
+++ b/src/App/Pages/Generator/GeneratorHistoryPage.xaml
@@ -19,17 +19,22 @@
+
+
+
-
-
-
-
-
-
-
-
-
-
+
+
+
diff --git a/src/App/Pages/Generator/GeneratorPage.xaml.cs b/src/App/Pages/Generator/GeneratorPage.xaml.cs
index 9124cb58a..cd61d2f29 100644
--- a/src/App/Pages/Generator/GeneratorPage.xaml.cs
+++ b/src/App/Pages/Generator/GeneratorPage.xaml.cs
@@ -1,4 +1,5 @@
-using System;
+using Bit.App.Resources;
+using System;
using System.Threading.Tasks;
using Xamarin.Forms;
@@ -19,9 +20,17 @@ namespace Bit.App.Pages
_vm.Page = this;
_fromTabPage = fromTabPage;
_selectAction = selectAction;
- if(selectAction == null)
+ if(selectAction != null)
{
- ToolbarItems.Remove(_selectItem);
+ ToolbarItems.Add(_selectItem);
+ }
+ if(Device.RuntimePlatform == Device.iOS)
+ {
+ ToolbarItems.Add(_moreItem);
+ }
+ else
+ {
+ ToolbarItems.Add(_historyItem);
}
}
@@ -59,6 +68,21 @@ namespace Bit.App.Pages
await _vm.CopyAsync();
}
+ private async void More_Clicked(object sender, EventArgs e)
+ {
+ if(!DoOnce())
+ {
+ return;
+ }
+ var selection = await DisplayActionSheet(AppResources.Options, AppResources.Cancel,
+ null, AppResources.PasswordHistory);
+ if(selection == AppResources.PasswordHistory)
+ {
+ var page = new GeneratorHistoryPage();
+ await Navigation.PushModalAsync(new NavigationPage(page));
+ }
+ }
+
private void Select_Clicked(object sender, EventArgs e)
{
_selectAction?.Invoke(_vm.Password);
diff --git a/src/App/Pages/Vault/AddEditPage.xaml b/src/App/Pages/Vault/AddEditPage.xaml
index ac4193031..9f9a04202 100644
--- a/src/App/Pages/Vault/AddEditPage.xaml
+++ b/src/App/Pages/Vault/AddEditPage.xaml
@@ -36,7 +36,9 @@
Clicked="Share_Clicked"
Order="Secondary" />
+ x:Key="moreItem"
+ AutomationProperties.IsInAccessibleTree="True"
+ AutomationProperties.Name="{u:I18n Options}" />
+ x:Name="_moreItem" x:Key="moreItem"
+ AutomationProperties.IsInAccessibleTree="True"
+ AutomationProperties.Name="{u:I18n Options}" />