mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2025-01-18 04:46:44 -06:00
[UI] Make snowfall condition consistent (#195)
This commit is contained in:
parent
50ef7f8617
commit
137ea65e0f
@ -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