Skip to content

Commit

Permalink
Utilize sending reply instead of reply sent in story reply toast.
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-signal committed May 11, 2022
1 parent 158f77a commit e2b0079
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
}
Expand Down Expand Up @@ -195,7 +195,6 @@ class StoryDirectReplyDialogFragment :
putString(REQUEST_EMOJI, emoji)
}
)
Toast.makeText(requireContext(), R.string.StoryDirectReplyDialogFragment__reaction_sent, Toast.LENGTH_LONG).show()
dismissAllowingStateLoss()
}
}
Expand Down
4 changes: 1 addition & 3 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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 -->
Expand Down

0 comments on commit e2b0079

Please sign in to comment.