fix #21, make grouping subsequent entries at the call log optional

This commit is contained in:
tibbi
2020-05-30 23:17:50 +02:00
parent 05278f4771
commit 56a4868051
5 changed files with 42 additions and 3 deletions

View File

@ -35,4 +35,8 @@ class Config(context: Context) : BaseConfig(context) {
}
fun getCustomSIM(number: String) = prefs.getString(REMEMBER_SIM_PREFIX + number, "")
var groupSubsequentCalls: Boolean
get() = prefs.getBoolean(GROUP_SUBSEQUENT_CALLS, true)
set(groupSubsequentCalls) = prefs.edit().putBoolean(GROUP_SUBSEQUENT_CALLS, groupSubsequentCalls).apply()
}