From 4acd02f7149709edf8ea61e68b61110761944ea0 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sat, 15 Apr 2017 20:18:47 +0200 Subject: [PATCH] show the repetition rule only at the daily repeat interval --- .../com/simplemobiletools/calendar/activities/EventActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/activities/EventActivity.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/activities/EventActivity.kt index 98bc1c5eb..7452610a8 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/activities/EventActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/activities/EventActivity.kt @@ -161,7 +161,7 @@ class EventActivity : SimpleActivity(), DBHelper.EventUpdateListener { event_repetition_limit_holder.beGoneIf(limit == 0) checkRepetitionLimitText() - event_repetition_rule_holder.beGoneIf(mRepeatInterval != DAY && mRepeatInterval != MONTH) + event_repetition_rule_holder.beVisibleIf(mRepeatInterval == DAY) checkRepetitionRuleText() }