mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 11:55:31 -04:00
universal7885: parts: Avoid both options checked at the same time
This commit is contained in:
parent
9a2f223571
commit
38dfae1352
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ class SmartChargeFragment : PreferenceFragmentCompat(), OnMainSwitchChangeListen
|
|||
mRestart.setOnClickListener(this)
|
||||
mLimitShow.summary = "${mSharedPreferences.getInt(PREF_LIMIT, 20)} %"
|
||||
mRestartShow.summary = "${mSharedPreferences.getInt(PREF_RESTART, 80)} %"
|
||||
mLimit.isChecked = true
|
||||
if (!mRestart.isChecked) mLimit.isChecked = true
|
||||
}
|
||||
|
||||
override fun onRadioButtonClicked(btn: SelectorWithWidgetPreference) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue