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

This commit is contained in:
Alex Hart
2022-05-04 15:35:28 -03:00
parent 158f77a634
commit e2b0079a5c
2 changed files with 2 additions and 5 deletions

View File

@@ -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()
}
}