format code

This commit is contained in:
Mysochenko Yuriy 2022-05-25 11:09:09 +03:00
parent 3a7d1bb869
commit a1a004299b

View file

@ -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