From c9f59aace4138263b0695a3f0ce11b84515d560a Mon Sep 17 00:00:00 2001 From: Lakoja Date: Fri, 14 Apr 2023 11:56:10 +0200 Subject: [PATCH] 3530: Provide a help text on the empty conversations view --- .../tusky/components/conversation/ConversationsFragment.kt | 1 + app/src/main/res/values/strings.xml | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/app/src/main/java/com/keylesspalace/tusky/components/conversation/ConversationsFragment.kt b/app/src/main/java/com/keylesspalace/tusky/components/conversation/ConversationsFragment.kt index 48d1e87b8..97a4d7583 100644 --- a/app/src/main/java/com/keylesspalace/tusky/components/conversation/ConversationsFragment.kt +++ b/app/src/main/java/com/keylesspalace/tusky/components/conversation/ConversationsFragment.kt @@ -134,6 +134,7 @@ class ConversationsFragment : if (loadState.append is LoadState.NotLoading && loadState.source.refresh is LoadState.NotLoading) { binding.statusView.show() binding.statusView.setup(R.drawable.elephant_friend_empty, R.string.message_empty, null) + binding.statusView.showHelp(R.string.help_empty_conversations) } } is LoadState.Error -> { diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index c00363661..8c4527de2 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -814,6 +814,12 @@ you follow.\n\nTo explore accounts you can either discover them in one of the other timelines. For example the local timeline of your instance [iconics gmd_group]. Or you can search them by name [iconics gmd_search]; for example search for Tusky to find our Mastodon account. + Here are your private messages; sometimes called conversations or direct messages (DM). + \n\nPrivate messages are created by setting the visibility [iconics gmd_public] of a post to [iconics gmd_mail] \"Direct\" and + mentioning one or more users in the text. + \n\nFor example you can start on the profile view of an account and tap the create button [iconics gmd_edit] and change the visibility. + + Load newest notifications Copy version and device information Copied version and device information