Enable URL tooltips on hover for Element Desktop (#22286)

* Enable URL tooltips for Element Desktop

Closes: #6532
Signed-off-by: Johannes Marbach <johannesm@element.io>

* Fix access level

Co-authored-by: Travis Ralston <travpc@gmail.com>

* Add explicit access level where it exists in base class

* Appease the linker

Co-authored-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
Johannes Marbach 2022-07-06 20:40:22 +02:00 committed by GitHub
parent 2032668e3a
commit 688dbc6cba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -238,6 +238,10 @@ export default class ElectronPlatform extends VectorBasePlatform {
electron.send('loudNotification'); electron.send('loudNotification');
} }
public needsUrlTooltips(): boolean {
return true;
}
public async getAppVersion(): Promise<string> { public async getAppVersion(): Promise<string> {
return this.ipc.call('getAppVersion'); return this.ipc.call('getAppVersion');
} }