From 6b8e8915ea1e07ff434dfe5338c538b03336d67a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9sar=20Pinto=20Castillo?= Date: Fri, 22 Apr 2016 11:02:16 +0200 Subject: [PATCH] Fixes bug related to remind button The remind button was appearing even though "days before reminding" was set to 0 if the review button title was set. --- Source/Armchair.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Armchair.swift b/Source/Armchair.swift index 6087cec..da0ba43 100644 --- a/Source/Armchair.swift +++ b/Source/Armchair.swift @@ -1134,7 +1134,7 @@ public class Manager : ArmchairManager { } private func showsRemindButton() -> Bool { - return (remindButtonTitle != nil) + return (daysBeforeReminding > 0 && remindButtonTitle != nil) } private func showRatingAlert() {