Use a link icon for joining a device

This commit is contained in:
vorotamoroz
2026-09-30 01:31:36 +00:00
parent 6b3489cfd9
commit ad5351b8f6
3 changed files with 3 additions and 3 deletions
@@ -8,7 +8,7 @@
*/ */
export const liveSyncProvisionalEnglishMessages = { export const liveSyncProvisionalEnglishMessages = {
"⚠️ Initialise or overwrite the remote": "⚠️ Initialise or overwrite the remote", "⚠️ Initialise or overwrite the remote": "⚠️ Initialise or overwrite the remote",
"📥 Join this device": "📥 Join this device", "🔗 Join this device": "🔗 Join this device",
"⚙️ Apply settings only (advanced)": "⚙️ Apply settings only (advanced)", "⚙️ Apply settings only (advanced)": "⚙️ Apply settings only (advanced)",
"Configure TURN when a direct connection cannot be established or when you select TURN relay only.": "Configure TURN when a direct connection cannot be established or when you select TURN relay only.":
"Configure TURN when a direct connection cannot be established or when you select TURN relay only.", "Configure TURN when a direct connection cannot be established or when you select TURN relay only.",
@@ -59,7 +59,7 @@
</InfoNote> </InfoNote>
</Option> </Option>
<Option <Option
title={translateMessage("📥 Join this device")} title={translateMessage("🔗 Join this device")}
bind:value={userType} bind:value={userType}
selectedValue={TYPE_EXISTING} selectedValue={TYPE_EXISTING}
> >
@@ -341,7 +341,7 @@ async function importQRCode(port: number, qrData: string): Promise<string> {
const screenshot = await captureGuideDialogue(port, `guide-${captures.guide}-join-choice.png`, title); const screenshot = await captureGuideDialogue(port, `guide-${captures.guide}-join-choice.png`, title);
await withObsidianPage(port, async (page) => { await withObsidianPage(port, async (page) => {
const modal = modalByTitle(page, title); const modal = modalByTitle(page, title);
await selectRadioOption(modal, "📥 Join this device"); await selectRadioOption(modal, "🔗 Join this device");
await modal.getByRole("button", { name: "Proceed to the next step.", exact: true }).click(); await modal.getByRole("button", { name: "Proceed to the next step.", exact: true }).click();
}); });
return screenshot; return screenshot;