ConversationView: Move setPin to redux

This commit is contained in:
Scott Nonnenberg
2022-12-06 17:00:02 -08:00
committed by GitHub
parent e9b7a74b32
commit ff6750e4fd
11 changed files with 135 additions and 86 deletions

View File

@@ -105,6 +105,10 @@ export function ToastManager({
);
}
if (toastType === ToastType.PinnedConversationsFull) {
return <Toast onClose={hideToast}>{i18n('pinnedConversationsFull')}</Toast>;
}
if (toastType === ToastType.StoryMuted) {
return (
<Toast onClose={hideToast} timeout={SHORT_TIMEOUT}>