Remind button always shows if remindButtonTitle is set #28

Closed
opened 2025-12-29 18:28:23 +01:00 by adam · 2 comments
Owner

Originally created by @JagCesar on GitHub (Apr 19, 2016).

Hey!

Let me start of by thanking you for writing this. Much love.

I ran across a bug and wanted to report it, not sure if I'm missing something. If it's a bug I'll gladly fix it and send a PR.

If daysBeforeReminding is set to zero and remindButtonTitle is set, the remind Button appears in the rate pop up. The bug seems to be in showsRemindButton()

showsRemindButton() should return false if daysBeforeReminding is set to zero.

Originally created by @JagCesar on GitHub (Apr 19, 2016). Hey! Let me start of by thanking you for writing this. Much love. I ran across a bug and wanted to report it, not sure if I'm missing something. If it's a bug I'll gladly fix it and send a PR. If `daysBeforeReminding` is set to zero and `remindButtonTitle` is set, the remind Button appears in the rate pop up. The bug seems to be in [showsRemindButton()](https://github.com/UrbanApps/Armchair/blob/master/Source/Armchair.swift#L1136) `showsRemindButton()` should return false if `daysBeforeReminding` is set to zero.
adam closed this issue 2025-12-29 18:28:23 +01:00
Author
Owner

@coneybeare commented on GitHub (Apr 21, 2016):

I agree, that looks like an oversight, considering we do a similar check here. I would entertain a pull request fixing it.

@coneybeare commented on GitHub (Apr 21, 2016): I agree, that looks like an oversight, considering we do a similar check [here](https://github.com/UrbanApps/Armchair/blob/master/Source/Armchair.swift#L765). I would entertain a pull request fixing it.
Author
Owner

@JagCesar commented on GitHub (Apr 22, 2016):

Sweet. I'm on it.

@JagCesar commented on GitHub (Apr 22, 2016): Sweet. I'm on it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Armchair#28