0
0
Fork 0
mirror of https://github.com/YTVanced/VancedManager synced 2024-11-23 19:55:11 +00:00

potential fix of notifications

This commit is contained in:
X1nto 2020-12-19 17:37:54 +04:00
parent 5b2f94f594
commit 47951f8846

View file

@ -19,16 +19,16 @@ class GetNotifAdapter(private val context: Context) :
"vanced_notifs"
)
private val music = NotifModel(
"MicroG-Update",
"Music-Update",
context.getString(R.string.push_notifications, context.getString(R.string.music)),
context.getString(R.string.push_notifications_summary, context.getString(R.string.music)),
"music_notifs"
)
private val microg = NotifModel(
"Music-Update",
context.getString(R.string.push_notifications, context.getString(R.string.microg)),
context.getString(R.string.push_notifications_summary, context.getString(R.string.microg)),
"microg_notifs"
"MicroG-Update",
context.getString(R.string.push_notifications, context.getString(R.string.microg)),
context.getString(R.string.push_notifications_summary, context.getString(R.string.microg)),
"microg_notifs"
)
private val apps = arrayOf(vanced, music, microg)
@ -41,7 +41,7 @@ class GetNotifAdapter(private val context: Context) :
setKey(apps[position].key)
setSummary(apps[position].switchSummary)
setTitle(apps[position].switchTitle)
setDefaultValue(false)
setDefaultValue(true)
}
}
}