Utilize sending reply instead of reply sent in story reply toast.

fork-5.53.8
Alex Hart 2022-05-04 15:35:28 -03:00
rodzic 158f77a634
commit e2b0079a5c
2 zmienionych plików z 2 dodań i 5 usunięć

Wyświetl plik

@ -74,7 +74,7 @@ class StoryDirectReplyDialogFragment :
lifecycleDisposable += viewModel.sendReply(composer.consumeInput().first)
.observeOn(AndroidSchedulers.mainThread())
.subscribe {
Toast.makeText(requireContext(), R.string.StoryDirectReplyDialogFragment__reply_sent, Toast.LENGTH_LONG).show()
Toast.makeText(requireContext(), R.string.StoryDirectReplyDialogFragment__sending_reply, Toast.LENGTH_LONG).show()
dismissAllowingStateLoss()
}
}
@ -195,7 +195,6 @@ class StoryDirectReplyDialogFragment :
putString(REQUEST_EMOJI, emoji)
}
)
Toast.makeText(requireContext(), R.string.StoryDirectReplyDialogFragment__reaction_sent, Toast.LENGTH_LONG).show()
dismissAllowingStateLoss()
}
}

Wyświetl plik

@ -4689,9 +4689,7 @@
<!-- Displayed in story caption when content is longer than 5 lines -->
<string name="StoryViewerPageFragment__see_more">… See More</string>
<!-- Displayed in toast after sending a direct reply -->
<string name="StoryDirectReplyDialogFragment__reply_sent">Reply sent</string>
<!-- Displayed in toast after sending a direct reaction -->
<string name="StoryDirectReplyDialogFragment__reaction_sent">Reaction sent</string>
<string name="StoryDirectReplyDialogFragment__sending_reply">Sending reply…</string>
<!-- Displayed in the viewer when a story is no longer available -->
<string name="StorySlateView__this_story_is_no_longer_available">This story is no longer available.</string>
<!-- Displayed in the viewer when the network is not available -->