Skip to content

A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.

TypeScript fluxerfluxerapp

fix(app): don't suppress toast when copying user id in popout (#38)

hampus-fluxer8294821a96a9
diff --git a/fluxer_app/src/components/popouts/UserAreaPopout.tsx b/fluxer_app/src/components/popouts/UserAreaPopout.tsx
index 5198414ad..b59d25975 100644
--- a/fluxer_app/src/components/popouts/UserAreaPopout.tsx
+++ b/fluxer_app/src/components/popouts/UserAreaPopout.tsx
@@ -315,14 +315,14 @@ export const UserAreaPopout = observer(() => {
if (!currentUserId) {
return;
}
- TextCopyActionCreators.copy(i18n, currentUserId, true);
+ TextCopyActionCreators.copy(i18n, currentUserId);
}, [currentUserId, i18n]);
const handleCopyUserTag = React.useCallback(() => {
if (!currentUser) {
return;
}
- TextCopyActionCreators.copy(i18n, currentUser.tag, true);
+ TextCopyActionCreators.copy(i18n, currentUser.tag);
}, [currentUser, i18n]);
const openManageAccounts = React.useCallback(() => {