feat(mute-conversations-toggle): add success confirmation toast

This commit is contained in:
LucasGGamerM 2023-09-19 14:56:16 -03:00
parent f5732fd2ae
commit be225f8bb4
2 changed files with 3 additions and 0 deletions

View file

@ -677,6 +677,7 @@ public class UiUtils {
@Override
public void onSuccess(Status result){
resultCallback.run();
Toast.makeText(activity, result.muted ? R.string.mo_muted_conversation_successfully : R.string.mo_unmuted_conversation_successfully, Toast.LENGTH_SHORT).show();
E.post(new StatusMuteChangedEvent(result));
}

View file

@ -35,6 +35,8 @@
<string name="mo_notification_management_settings">Manage Notifications</string>
<string name="mo_open_camera">Take picture</string>
<string name="mo_camera_not_available">No camera available!</string>
<string name="mo_muted_conversation_successfully">Successfully muted conversation</string>
<string name="mo_unmuted_conversation_successfully">Successfully unmuted conversation</string>
<string name="mo_muting">Muting…</string>
<string name="mo_unmuting">Unmuting…</string>
<string name="mo_mute_conversation">Mute conversation</string>