Revert "Changed arrow colors and removed an old way"

This reverts commit ce114e6b69.
This commit is contained in:
Agnieszka C
2021-12-22 22:17:21 +01:00
parent 5b694e0e26
commit f0fda44685
28 changed files with 69 additions and 4 deletions

View File

@ -52,6 +52,10 @@ class Config(context: Context) : BaseConfig(context) {
get() = prefs.getBoolean(DISABLE_PROXIMITY_SENSOR, false)
set(disableProximitySensor) = prefs.edit().putBoolean(DISABLE_PROXIMITY_SENSOR, disableProximitySensor).apply()
var enableSwipeToAnswer: Boolean
get() = prefs.getBoolean(ENABLE_SWIPE_TO_ANSWER, false)
set(enableSwipeToAnswer) = prefs.edit().putBoolean(ENABLE_SWIPE_TO_ANSWER, enableSwipeToAnswer).apply()
var showTabs: Int
get() = prefs.getInt(SHOW_TABS, ALL_TABS_MASK)
set(showTabs) = prefs.edit().putInt(SHOW_TABS, showTabs).apply()

View File

@ -10,6 +10,7 @@ const val REMEMBER_SIM_PREFIX = "remember_sim_"
const val GROUP_SUBSEQUENT_CALLS = "group_subsequent_calls"
const val OPEN_DIAL_PAD_AT_LAUNCH = "open_dial_pad_at_launch"
const val DISABLE_PROXIMITY_SENSOR = "disable_proximity_sensor"
const val ENABLE_SWIPE_TO_ANSWER = "enable_swipe_to_answer"
const val SHOW_TABS = "show_tabs"
const val ALL_TABS_MASK = TAB_CONTACTS or TAB_FAVORITES or TAB_CALL_HISTORY