Skip to content
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions components/ConnectionInfoModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ function ConnectionInfoModal({
<Alert
type="warn"
title="Insecure relay"
className="mb-0"
description={`${insecureRelays.join(", ")} ${
insecureRelays.length > 1 ? "are" : "is"
} not using a secure (wss) connection.`}
Expand Down
16 changes: 9 additions & 7 deletions pages/settings/wallets/ConnectWallet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,6 @@ export function ConnectWallet() {
budgetRenewal={budgetRenewal}
maxAmount={maxAmount}
expiresAt={expiresAt}
returnTo={returnTo}
metadata={metadata}
/>
)}
Expand All @@ -232,6 +231,15 @@ export function ConnectWallet() {
)}
<Text>Confirm Connection</Text>
</Button>
{returnTo && (
<Text className="px-4 mt-2 text-center text-secondary-foreground ios:text-sm android:text-xs">
You will be redirected to{" "}
<Text className="font-semibold2 ios:text-sm android:text-xs">
{returnTo}
</Text>{" "}
after confirming.
</Text>
)}
</View>
)}
</>
Expand All @@ -246,7 +254,6 @@ function ConnectView({
budgetRenewal,
maxAmount,
expiresAt,
returnTo,
metadata,
}: Omit<NWAOptions, "appPubkey" | "relayUrls">) {
const { shadow } = useThemeColor("shadow");
Expand Down Expand Up @@ -357,11 +364,6 @@ function ConnectView({
</Text>
</View>
)}
{returnTo && (
<Text className="mt-2 text-center text-secondary-foreground ios:text-sm android:text-xs">
You will return to {returnTo} after confirming
</Text>
)}
</ScrollView>
</View>
</View>
Expand Down
Loading