We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca53b4d commit 17b1998Copy full SHA for 17b1998
1 file changed
app/src/main/java/app/morphe/manager/ui/viewmodel/HomeAndPatcherMessages.kt
@@ -72,6 +72,8 @@ object HomeAndPatcherMessages {
72
*/
73
fun getHomeMessage(context: Context): Int {
74
return homeGreetingMessage ?: run {
75
+ // home_greeting_1 is always shown first on a new installation.
76
+ // All other strings in the active time bucket are randomly shown
77
val hour = Calendar.getInstance().get(Calendar.HOUR_OF_DAY)
78
val messages = listOf(R.string.home_greeting_1) + when (hour) {
79
in 5..11 -> listOf(
0 commit comments