format code
This commit is contained in:
parent
3a7d1bb869
commit
a1a004299b
1 changed files with 4 additions and 1 deletions
|
@ -38,7 +38,10 @@ class ManageBlockedNumbersActivity : BaseSimpleActivity(), RefreshRecyclerViewLi
|
||||||
updatePlaceholderTexts()
|
updatePlaceholderTexts()
|
||||||
|
|
||||||
block_unknown.apply {
|
block_unknown.apply {
|
||||||
setText(if (baseConfig.appId.startsWith("com.simplemobiletools.dialer")) R.string.block_unknown_calls else R.string.block_unknown_messages)
|
setText(if (baseConfig.appId.startsWith("com.simplemobiletools.dialer"))
|
||||||
|
R.string.block_unknown_calls
|
||||||
|
else
|
||||||
|
R.string.block_unknown_messages)
|
||||||
isChecked = baseConfig.blockUnknownNumbers
|
isChecked = baseConfig.blockUnknownNumbers
|
||||||
setOnCheckedChangeListener { _, isChecked ->
|
setOnCheckedChangeListener { _, isChecked ->
|
||||||
baseConfig.blockUnknownNumbers = isChecked
|
baseConfig.blockUnknownNumbers = isChecked
|
||||||
|
|
Loading…
Reference in a new issue