mirror of
https://github.com/bitwarden/mobile
synced 2025-12-17 16:53:26 +00:00
only show cancel when coming from another page
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user