mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-21 15:05:19 +00:00
PR comment
This commit is contained in:
parent
87e3f93a61
commit
85161ffe33
@ -28,6 +28,7 @@ import org.session.libsession.utilities.recipients.Recipient
|
||||
import org.session.libsignal.utilities.Log
|
||||
import org.thoughtcrime.securesms.conversation.start.StartConversationDelegate
|
||||
import org.thoughtcrime.securesms.conversation.v2.ConversationActivityV2
|
||||
import org.thoughtcrime.securesms.ui.getSubbedString
|
||||
import org.thoughtcrime.securesms.util.ConfigurationMessageUtilities
|
||||
|
||||
@AndroidEntryPoint
|
||||
@ -131,8 +132,8 @@ class JoinCommunityFragment : Fragment() {
|
||||
Log.e("Loki", "Couldn't join community.", e)
|
||||
withContext(Dispatchers.Main) {
|
||||
hideLoader()
|
||||
val txt = Phrase.from(context, R.string.groupErrorJoin)
|
||||
.put(GROUP_NAME_KEY, url).format().toString()
|
||||
val txt = context?.getSubbedString(R.string.groupErrorJoin,
|
||||
GROUP_NAME_KEY to url)
|
||||
Toast.makeText(activity, txt, Toast.LENGTH_SHORT).show()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user