mirror of
https://github.com/YTVanced/VancedManager
synced 2025-01-05 06:51:00 +00:00
fixed notification adapter
This commit is contained in:
parent
ed39a2ebf6
commit
a3fd2111d4
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ class GetNotifAdapter(private val context: Context) : RecyclerView.Adapter<GetNo
|
|||
setTitle(app.switchTitle)
|
||||
setDefaultValue(true)
|
||||
with (prefs) {
|
||||
setChecked(getBoolean(app.key.substringBefore("_") + "_enabled", true) && getBoolean(app.key, true))
|
||||
setChecked(getBoolean( "enable_" + app.key.substringBefore("_"), true) && getBoolean(app.key, true))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue