mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2025-02-08 09:04:36 +01:00
[UI] Make snowfall condition consistent (#195)
This commit is contained in:
parent
d1ae14a65c
commit
908959f7ee
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user