From 63373501b1ee3e581fdfbc7ebc47d416b9ece9c7 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 28 Jul 2016 22:07:48 -0400 Subject: [PATCH] moved sections in password generator page. adjusted tableview renderer for AutomaticDimension height in footer. --- src/App/Pages/Tools/ToolsPasswordGeneratorPage.cs | 10 +++++----- src/iOS/Controls/ExtendedTableViewRenderer.cs | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/App/Pages/Tools/ToolsPasswordGeneratorPage.cs b/src/App/Pages/Tools/ToolsPasswordGeneratorPage.cs index 2061acaa7..4d2e07bf6 100644 --- a/src/App/Pages/Tools/ToolsPasswordGeneratorPage.cs +++ b/src/App/Pages/Tools/ToolsPasswordGeneratorPage.cs @@ -69,15 +69,15 @@ namespace Bit.App.Pages NoHeader = true, Root = new TableRoot { - new TableSection - { - SliderCell, - settingsCell - }, new TableSection { regenerateCell, copyCell + }, + new TableSection("Options") + { + SliderCell, + settingsCell } } }; diff --git a/src/iOS/Controls/ExtendedTableViewRenderer.cs b/src/iOS/Controls/ExtendedTableViewRenderer.cs index 84c8f278f..e65c2b566 100644 --- a/src/iOS/Controls/ExtendedTableViewRenderer.cs +++ b/src/iOS/Controls/ExtendedTableViewRenderer.cs @@ -173,7 +173,7 @@ namespace Bit.iOS.Controls return 0.00001f; } - return 35f; + return UITableView.AutomaticDimension; } public override UIView GetViewForFooter(UITableView tableView, nint section)