Skip to content

Commit 220b6af

Browse files
authored
Merge pull request #61227 from thelullabyy/fix/60783-show-copy-clipboard-after-navigate
Settings - Tapping inbox & quickly long press "domains" shows copy clipboard in LHN
2 parents fbe28a3 + 7022ff3 commit 220b6af

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/pages/settings/InitialSettingsPage.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,10 @@ function InitialSettingsPage({currentUserPersonalDetails}: InitialSettingsPagePr
314314
const getWalletBalance = (isPaymentItem: boolean): string | undefined => (isPaymentItem ? convertToDisplayString(userWallet?.currentBalance) : undefined);
315315

316316
const openPopover = (link: string | (() => Promise<string>) | undefined, event: GestureResponderEvent | MouseEvent) => {
317+
if (!Navigation.getActiveRoute().includes(ROUTES.SETTINGS)) {
318+
return;
319+
}
320+
317321
if (typeof link === 'function') {
318322
link?.()?.then((url) =>
319323
showContextMenu({

0 commit comments

Comments
 (0)