mirror of
https://github.com/SimpleMobileTools/Simple-Dialer.git
synced 2025-06-05 21:49:23 +02:00
Changed enable to disable
This commit is contained in:
@ -52,9 +52,9 @@ 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 disableSwipeToAnswer: Boolean
|
||||
get() = prefs.getBoolean(DISABLE_SWIPE_TO_ANSWER, false)
|
||||
set(disableSwipeToAnswer) = prefs.edit().putBoolean(DISABLE_SWIPE_TO_ANSWER, disableSwipeToAnswer).apply()
|
||||
|
||||
var showTabs: Int
|
||||
get() = prefs.getInt(SHOW_TABS, ALL_TABS_MASK)
|
||||
|
@ -10,7 +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 DISABLE_SWIPE_TO_ANSWER = "disable_swipe_to_answer"
|
||||
const val SHOW_TABS = "show_tabs"
|
||||
|
||||
const val ALL_TABS_MASK = TAB_CONTACTS or TAB_FAVORITES or TAB_CALL_HISTORY
|
||||
|
Reference in New Issue
Block a user