新增自定义通知图标上限

This commit is contained in:
LittleTurtle2333
2022-03-29 16:43:25 +08:00
parent 657c65164f
commit b29bfb45f9
4 changed files with 18 additions and 17 deletions

View File

@@ -919,12 +919,16 @@ class SettingsActivity : MIUIActivity() {
)
)
add(
TextSummaryWithSwitchV(
TextSummaryV(
textId = R.string.remove_the_maximum_number_of_notification_icons,
tipsId = R.string.remove_the_maximum_number_of_notification_icons_summary
),
SwitchV("remove_the_maximum_number_of_notification_icons")
TextV(
resId = R.string.maximum_number_of_notification_icons
)
)
add(
SeekBarWithTextV(
"maximum_number_of_notification_icons",
1,
30,
3
)
)
add(