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));
}