Skip to content
This repository has been archived by the owner on Mar 15, 2022. It is now read-only.

Commit

Permalink
Merge pull request #319 from YTVanced/dev
Browse files Browse the repository at this point in the history
Potential notification fix
  • Loading branch information
KevinX8 authored Dec 19, 2020
2 parents b5fb17a + 68330db commit aab7da7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions app/src/main/java/com/vanced/manager/adapter/GetNotifAdapter.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
}
}
}
Expand Down

0 comments on commit aab7da7

Please sign in to comment.