From 519fd212d99124784fb2b73d2834f15fff00e170 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 20 Dec 2017 10:30:57 -0500 Subject: [PATCH] fix cancel display logic --- src/App/Pages/Tools/ToolsPasswordGeneratorPage.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); }