From ceef61e841efa6cfd512da91d5fbc5f988a63e4e Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Sat, 30 Jul 2016 01:11:52 -0400 Subject: [PATCH] cancel says "Close" when no password field. --- src/iOS.Extension/SiteListViewController.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/iOS.Extension/SiteListViewController.cs b/src/iOS.Extension/SiteListViewController.cs index ec5a6308b..d6f92d9a9 100644 --- a/src/iOS.Extension/SiteListViewController.cs +++ b/src/iOS.Extension/SiteListViewController.cs @@ -35,6 +35,11 @@ namespace Bit.iOS.Extension { base.ViewDidLoad(); + if(!Context?.Details?.HasPasswordField ?? false) + { + CancelBarButton.Title = "Close"; + } + Debug.WriteLine("BW LOG, Site list ViewDidLoad."); var sw = Stopwatch.StartNew();