Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/pages/settings/InitialSettingsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,10 @@ function InitialSettingsPage({currentUserPersonalDetails}: InitialSettingsPagePr
const getWalletBalance = (isPaymentItem: boolean): string | undefined => (isPaymentItem ? convertToDisplayString(userWallet?.currentBalance) : undefined);

const openPopover = (link: string | (() => Promise<string>) | undefined, event: GestureResponderEvent | MouseEvent) => {
if (!Navigation.getActiveRoute().includes(ROUTES.SETTINGS)) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was allowing the popover to opened when navigating to other settings screens, we fixed this in #63576

return;
}

if (typeof link === 'function') {
link?.()?.then((url) =>
showContextMenu({
Expand Down