修复:通用设置中无法关闭转发应用通知开关

This commit is contained in:
pppscn 2022-06-10 11:45:04 +08:00
parent 97eef3b23e
commit 23594bf96d

View File

@ -327,6 +327,7 @@ class SettingsFragment : BaseFragment<FragmentSettingsBinding?>(), View.OnClickL
sbEnableAppNotify.setOnCheckedChangeListener { _: CompoundButton?, isChecked: Boolean ->
layoutOptionalAction.visibility = if (isChecked) View.VISIBLE else View.GONE
SettingUtils.enableAppNotify = isChecked
if (isChecked) {
//检查权限是否获取
XXPermissions.with(this)