mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-10-14 05:12:30 +00:00
Use a link icon for joining a device
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user