mirror of
https://github.com/bitwarden/android.git
synced 2024-11-01 07:35:52 +03:00
only show cancel when coming from another page
This commit is contained in:
parent
ac5c9e7242
commit
4b21660fd6
1 changed files with 5 additions and 2 deletions
|
@ -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 a new issue