From 688dbc6cbab62c3562ddd7d68fdf4c7d31595160 Mon Sep 17 00:00:00 2001 From: Johannes Marbach Date: Wed, 6 Jul 2022 20:40:22 +0200 Subject: [PATCH] Enable URL tooltips on hover for Element Desktop (#22286) * Enable URL tooltips for Element Desktop Closes: #6532 Signed-off-by: Johannes Marbach * Fix access level Co-authored-by: Travis Ralston * Add explicit access level where it exists in base class * Appease the linker Co-authored-by: Travis Ralston --- src/vector/platform/ElectronPlatform.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/vector/platform/ElectronPlatform.tsx b/src/vector/platform/ElectronPlatform.tsx index 831288aedd..ee26b35f06 100644 --- a/src/vector/platform/ElectronPlatform.tsx +++ b/src/vector/platform/ElectronPlatform.tsx @@ -238,6 +238,10 @@ export default class ElectronPlatform extends VectorBasePlatform { electron.send('loudNotification'); } + public needsUrlTooltips(): boolean { + return true; + } + public async getAppVersion(): Promise { return this.ipc.call('getAppVersion'); }