diff --git a/app/src/main/kotlin/com/simplemobiletools/launcher/activities/SettingsActivity.kt b/app/src/main/kotlin/com/simplemobiletools/launcher/activities/SettingsActivity.kt index 905697a..94bdea5 100644 --- a/app/src/main/kotlin/com/simplemobiletools/launcher/activities/SettingsActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/launcher/activities/SettingsActivity.kt @@ -39,7 +39,6 @@ class SettingsActivity : SimpleActivity() { setupCustomizeColors() setupUseEnglish() setupCloseAppDrawerOnOtherAppOpen() - setupCloseAppDrawerOnHome() setupDrawerColumnCount() setupDrawerSearchBar() setupHomeRowCount() @@ -107,14 +106,6 @@ class SettingsActivity : SimpleActivity() { } } - private fun setupCloseAppDrawerOnHome() { - settings_close_app_drawer_on_home.isChecked = config.closeAppDrawerOnHome - settings_close_app_drawer_on_home_holder.setOnClickListener { - settings_close_app_drawer_on_home.toggle() - config.closeAppDrawerOnHome = settings_close_app_drawer_on_home.isChecked - } - } - private fun setupDrawerColumnCount() { val currentColumnCount = config.drawerColumnCount settings_drawer_column_count.text = currentColumnCount.toString() diff --git a/app/src/main/kotlin/com/simplemobiletools/launcher/helpers/Config.kt b/app/src/main/kotlin/com/simplemobiletools/launcher/helpers/Config.kt index a910e09..b88b168 100644 --- a/app/src/main/kotlin/com/simplemobiletools/launcher/helpers/Config.kt +++ b/app/src/main/kotlin/com/simplemobiletools/launcher/helpers/Config.kt @@ -32,8 +32,4 @@ class Config(context: Context) : BaseConfig(context) { var closeAppDrawer: Boolean get() = prefs.getBoolean(CLOSE_APP_DRAWER, false) set(closeAppDrawer) = prefs.edit().putBoolean(CLOSE_APP_DRAWER, closeAppDrawer).apply() - - var closeAppDrawerOnHome: Boolean - get() = prefs.getBoolean(CLOSE_APP_DRAWER_ON_HOME, false) - set(closeAppDrawerOnHome) = prefs.edit().putBoolean(CLOSE_APP_DRAWER_ON_HOME, closeAppDrawerOnHome).apply() } diff --git a/app/src/main/kotlin/com/simplemobiletools/launcher/helpers/Constants.kt b/app/src/main/kotlin/com/simplemobiletools/launcher/helpers/Constants.kt index 534545b..65e7bcd 100644 --- a/app/src/main/kotlin/com/simplemobiletools/launcher/helpers/Constants.kt +++ b/app/src/main/kotlin/com/simplemobiletools/launcher/helpers/Constants.kt @@ -10,7 +10,6 @@ const val HOME_COLUMN_COUNT = "home_column_count" const val DRAWER_COLUMN_COUNT = "drawer_column_count" const val SHOW_SEARCH_BAR = "show_search_bar" const val CLOSE_APP_DRAWER = "close_app_drawer" -const val CLOSE_APP_DRAWER_ON_HOME = "close_app_drawer_on_home" // default home screen grid size const val ROW_COUNT = 6 diff --git a/app/src/main/res/layout/activity_settings.xml b/app/src/main/res/layout/activity_settings.xml index e46af51..385d4ed 100644 --- a/app/src/main/res/layout/activity_settings.xml +++ b/app/src/main/res/layout/activity_settings.xml @@ -203,22 +203,6 @@ - - - - - - diff --git a/app/src/main/res/values-ar/strings.xml b/app/src/main/res/values-ar/strings.xml index ea43ed6..5ca242a 100644 --- a/app/src/main/res/values-ar/strings.xml +++ b/app/src/main/res/values-ar/strings.xml @@ -13,7 +13,6 @@ لا يمكن إلغاء تثبيت بعض التطبيقات بسبب قيود النظام، ولكن يمكن إخفاء أيقوناتها لتجنب ظهورها. درج التطبيق إغلاق درج التطبيق عند فتح تطبيق - Close app drawer on pressing Home Home screen الأداة كبيرة جدًا بالنسبة لحجم الشاشة الرئيسية الحالي