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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user