[UI] Make snowfall condition consistent (#195)

This commit is contained in:
Adam Rurański 2024-07-01 22:39:47 +02:00 committed by Kuba Szczodrzyński
parent d1ae14a65c
commit 908959f7ee
No known key found for this signature in database
GPG Key ID: 43037AC62A600562

View File

@ -26,7 +26,7 @@ class SettingsThemeCard(util: SettingsUtil) : SettingsCard(util) {
) )
override fun getItems(card: MaterialAboutCard) = listOfNotNull( override fun getItems(card: MaterialAboutCard) = listOfNotNull(
if (Date.getToday().month % 11 == 1) // cool math games if (Date.getToday().month / 3 % 4 == 0) // cool math games
util.createPropertyItem( util.createPropertyItem(
text = R.string.settings_theme_snowfall_text, text = R.string.settings_theme_snowfall_text,
subText = R.string.settings_theme_snowfall_subtext, subText = R.string.settings_theme_snowfall_subtext,