1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-20 19:57:45 +00:00

Combine the two news options in the general settings card

This commit is contained in:
Joshua Goins 2023-07-31 19:02:17 -04:00
parent 11a6469e4a
commit 723b81d1ee

View file

@ -28,17 +28,9 @@ MobileForm.FormCard {
MobileForm.FormDelegateSeparator {} MobileForm.FormDelegateSeparator {}
MobileForm.FormCheckDelegate { MobileForm.FormCheckDelegate {
text: i18n("Show news banners") text: i18n("Enable and show news")
checked: LauncherCore.showNewsBanners checked: LauncherCore.showNews
onCheckedChanged: LauncherCore.showNewsBanners = checked onCheckedChanged: LauncherCore.showNews = checked
}
MobileForm.FormDelegateSeparator {}
MobileForm.FormCheckDelegate {
text: i18n("Show news list")
checked: LauncherCore.showNewsList
onCheckedChanged: LauncherCore.showNewsList = checked
} }
} }
} }