diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/activities/EventActivity.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/activities/EventActivity.kt
index f05e7fcf7..e707df876 100644
--- a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/activities/EventActivity.kt
+++ b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/activities/EventActivity.kt
@@ -162,7 +162,7 @@ class EventActivity : SimpleActivity() {
event_start_time.setOnClickListener { setupStartTime() }
event_end_date.setOnClickListener { setupEndDate() }
event_end_time.setOnClickListener { setupEndTime() }
- event_timezone.setOnClickListener { setupTimezone() }
+ event_time_zone.setOnClickListener { setupTimeZone() }
event_all_day.setOnCheckedChangeListener { compoundButton, isChecked -> toggleAllDay(isChecked) }
event_repetition.setOnClickListener { showRepeatIntervalDialog() }
@@ -214,6 +214,7 @@ class EventActivity : SimpleActivity() {
updateTextColors(event_scrollview)
updateIconColors()
+
mWasActivityInitialized = true
}
@@ -1056,7 +1057,7 @@ class EventActivity : SimpleActivity() {
}
private fun updateTimeZoneText() {
- event_timezone.text = mEvent.getTimeZoneString()
+ event_time_zone.text = mEvent.getTimeZoneString()
}
private fun checkStartEndValidity() {
@@ -1169,7 +1170,7 @@ class EventActivity : SimpleActivity() {
}
}
- private fun setupTimezone() {
+ private fun setupTimeZone() {
}
@@ -1471,7 +1472,7 @@ class EventActivity : SimpleActivity() {
private fun updateIconColors() {
val textColor = config.textColor
event_time_image.applyColorFilter(textColor)
- event_timezone_image.applyColorFilter(textColor)
+ event_time_zone_image.applyColorFilter(textColor)
event_repetition_image.applyColorFilter(textColor)
event_reminder_image.applyColorFilter(textColor)
event_type_image.applyColorFilter(textColor)
diff --git a/app/src/main/res/layout/activity_event.xml b/app/src/main/res/layout/activity_event.xml
index c1eb397cc..cf59d9d0f 100644
--- a/app/src/main/res/layout/activity_event.xml
+++ b/app/src/main/res/layout/activity_event.xml
@@ -158,23 +158,23 @@
tools:text="00:00"/>