From defb7f9bf02e190ddddcc9d652403e82d6cd38f3 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 6 Jan 2019 10:52:14 +0100 Subject: [PATCH] removing the option for toggling 24 hours format --- .../pro/activities/SettingsActivity.kt | 9 ------- app/src/main/res/layout/activity_settings.xml | 24 ------------------- 2 files changed, 33 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/SettingsActivity.kt b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/SettingsActivity.kt index 1f38eb4f..de068e3d 100644 --- a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/SettingsActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/SettingsActivity.kt @@ -38,7 +38,6 @@ class SettingsActivity : SimpleActivity() { setupShowPhoneNumbers() setupShowContactsWithNumbers() setupStartNameWithSurname() - setupUse24HourTimeFormat() setupFilterDuplicates() setupShowCallConfirmation() setupShowDialpadButton() @@ -124,14 +123,6 @@ class SettingsActivity : SimpleActivity() { } } - private fun setupUse24HourTimeFormat() { - settings_use_24_hour_time_format.isChecked = config.use24HourFormat - settings_use_24_hour_time_format_holder.setOnClickListener { - settings_use_24_hour_time_format.toggle() - config.use24HourFormat = settings_use_24_hour_time_format.isChecked - } - } - private fun setupFilterDuplicates() { settings_filter_duplicates.isChecked = config.filterDuplicates settings_filter_duplicates_holder.setOnClickListener { diff --git a/app/src/main/res/layout/activity_settings.xml b/app/src/main/res/layout/activity_settings.xml index 3b914302..61cdd164 100644 --- a/app/src/main/res/layout/activity_settings.xml +++ b/app/src/main/res/layout/activity_settings.xml @@ -244,30 +244,6 @@ - - - - - -