From 2886e040a1557ce8d942d6532c4157e1af031523 Mon Sep 17 00:00:00 2001 From: Maarten Billemont Date: Thu, 3 Sep 2020 11:04:59 -0400 Subject: [PATCH] Warning fix. --- platform-darwin/Source/iOS/MPSiteCell.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform-darwin/Source/iOS/MPSiteCell.m b/platform-darwin/Source/iOS/MPSiteCell.m index cc890d31..3862f4d0 100644 --- a/platform-darwin/Source/iOS/MPSiteCell.m +++ b/platform-darwin/Source/iOS/MPSiteCell.m @@ -543,7 +543,7 @@ self.loginNameContainer.visible = settingsMode || mainSite.loginGenerated || [mainSite.loginName length]; self.modeButton.visible = !self.transientSite; self.modeButton.alpha = settingsMode? 0.5f: 0.1f; - self.counterLabel.visible = self.counterButton.visible = mainSite.type & MPResultTypeClassTemplate; + self.counterLabel.visible = self.counterButton.visible = (mainSite.type & MPResultTypeClassTemplate) == MPResultTypeClassTemplate; self.modeButton.selected = settingsMode; self.strengthLabel.gone = !settingsMode; self.modeScrollView.scrollEnabled = !self.transientSite;