Skip to content

Commit 17b1998

Browse files
committed
add comment
1 parent ca53b4d commit 17b1998

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

app/src/main/java/app/morphe/manager/ui/viewmodel/HomeAndPatcherMessages.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ object HomeAndPatcherMessages {
7272
*/
7373
fun getHomeMessage(context: Context): Int {
7474
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
7577
val hour = Calendar.getInstance().get(Calendar.HOUR_OF_DAY)
7678
val messages = listOf(R.string.home_greeting_1) + when (hour) {
7779
in 5..11 -> listOf(

0 commit comments

Comments
 (0)