diff --git a/src/App/Pages/Tools/ToolsPasswordGeneratorPage.cs b/src/App/Pages/Tools/ToolsPasswordGeneratorPage.cs index a41e1850a..9f38fc3a3 100644 --- a/src/App/Pages/Tools/ToolsPasswordGeneratorPage.cs +++ b/src/App/Pages/Tools/ToolsPasswordGeneratorPage.cs @@ -155,7 +155,7 @@ namespace Bit.App.Pages table.RowHeight = -1; table.EstimatedRowHeight = 44; - if(_passwordValueAction == null) + if(_passwordValueAction != null) { ToolbarItems.Add(new DismissModalToolBarItem(this, AppResources.Cancel)); }