Bug 1851633 - Add connect another device button to synced tabs. r=kcochrane,fluent-reviewers,fxview-reviewers,flod

Differential Revision: https://phabricator.services.mozilla.com/D187491
This commit is contained in:
Mike Kaply
2023-09-06 12:38:58 +00:00
parent 1b0bea44f6
commit 0a3351ec21
3 changed files with 36 additions and 0 deletions

View File

@@ -413,6 +413,22 @@ class SyncedTabsInView extends ViewPage {
);
}
}
if (!this.recentBrowsing) {
renderArray.push(
html`<div class="syncedtabs-footer">
<button data-action="add-device" @click=${this.handleEvent}>
<img
class="icon"
role="presentation"
src="chrome://global/skin/icons/plus.svg"
/><span
data-l10n-id="firefoxview-syncedtabs-connect-another-device"
data-action="add-device"
></span>
</button>
</div>`
);
}
return renderArray;
}