Merge pull request #552 from ismailnurudeen/fix/recent_tab

fix: missing recent tab
This commit is contained in:
Tibor Kaputa 2023-03-09 15:26:22 +01:00 committed by GitHub
commit a5664247b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -62,7 +62,7 @@ android {
} }
dependencies { dependencies {
implementation 'com.github.SimpleMobileTools:Simple-Commons:1f50049630' implementation 'com.github.SimpleMobileTools:Simple-Commons:8de9887b36'
implementation 'com.github.tibbi:IndicatorFastScroll:4524cd0b61' implementation 'com.github.tibbi:IndicatorFastScroll:4524cd0b61'
implementation 'me.grantland:autofittextview:0.2.1' implementation 'me.grantland:autofittextview:0.2.1'
} }

View File

@ -34,6 +34,9 @@ class Config(context: Context) : BaseConfig(context) {
fun removeCustomSIM(number: String) { fun removeCustomSIM(number: String) {
prefs.edit().remove(REMEMBER_SIM_PREFIX + number).apply() prefs.edit().remove(REMEMBER_SIM_PREFIX + number).apply()
} }
var showTabs: Int
get() = prefs.getInt(SHOW_TABS, ALL_TABS_MASK)
set(showTabs) = prefs.edit().putInt(SHOW_TABS, showTabs).apply()
var groupSubsequentCalls: Boolean var groupSubsequentCalls: Boolean
get() = prefs.getBoolean(GROUP_SUBSEQUENT_CALLS, true) get() = prefs.getBoolean(GROUP_SUBSEQUENT_CALLS, true)