mirror of
https://github.com/bitwarden/mobile.git
synced 2024-12-27 17:08:00 +01:00
only show cancel when coming from another page
This commit is contained in:
parent
ac5c9e7242
commit
4b21660fd6
@ -154,8 +154,11 @@ namespace Bit.App.Pages
|
|||||||
{
|
{
|
||||||
table.RowHeight = -1;
|
table.RowHeight = -1;
|
||||||
table.EstimatedRowHeight = 44;
|
table.EstimatedRowHeight = 44;
|
||||||
ToolbarItems.Add(new DismissModalToolBarItem(this,
|
|
||||||
_passwordValueAction == null ? AppResources.Close : AppResources.Cancel));
|
if(_passwordValueAction == null)
|
||||||
|
{
|
||||||
|
ToolbarItems.Add(new DismissModalToolBarItem(this, AppResources.Cancel));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
var stackLayout = new StackLayout
|
var stackLayout = new StackLayout
|
||||||
|
Loading…
Reference in New Issue
Block a user