feat: close dialog and show toast for copy to clipboard

This commit is contained in:
yongjoon_km 2024-05-13 21:00:16 +09:00
parent 6d510b888c
commit 4dc975ceb5

View file

@ -1790,6 +1790,13 @@ class App extends React.Component<AppProps, AppState> {
: t("toast.fileSaved"),
},
});
} else if (type === "clipboard") {
this.setState({
openDialog: null,
toast: {
message: t("toast.copyToClipboard"),
},
});
}
};