mirror of
https://github.com/bitwarden/android.git
synced 2024-12-21 00:31:58 +03:00
Lock password page tableview to properly adjust row height on iOS.
This commit is contained in:
parent
a7f6205030
commit
24722d3644
1 changed files with 9 additions and 1 deletions
|
@ -77,6 +77,14 @@ namespace Bit.App.Pages
|
||||||
Children = { table, logoutButton }
|
Children = { table, logoutButton }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
var scrollView = new ScrollView { Content = stackLayout };
|
||||||
|
|
||||||
|
if(Device.OS == TargetPlatform.iOS)
|
||||||
|
{
|
||||||
|
table.RowHeight = -1;
|
||||||
|
table.EstimatedRowHeight = 70;
|
||||||
|
}
|
||||||
|
|
||||||
var loginToolbarItem = new ToolbarItem("Submit", null, async () =>
|
var loginToolbarItem = new ToolbarItem("Submit", null, async () =>
|
||||||
{
|
{
|
||||||
await CheckPasswordAsync();
|
await CheckPasswordAsync();
|
||||||
|
@ -84,7 +92,7 @@ namespace Bit.App.Pages
|
||||||
|
|
||||||
ToolbarItems.Add(loginToolbarItem);
|
ToolbarItems.Add(loginToolbarItem);
|
||||||
Title = "Verify Master Password";
|
Title = "Verify Master Password";
|
||||||
Content = stackLayout;
|
Content = scrollView;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Entry_Completed(object sender, EventArgs e)
|
private void Entry_Completed(object sender, EventArgs e)
|
||||||
|
|
Loading…
Reference in a new issue