mirror of https://github.com/vector-im/riot-web
Add `allowOverridingNativeContextMenus()` (#17777)
parent
6721a7162f
commit
491999281f
|
@ -308,7 +308,11 @@ export default class ElectronPlatform extends VectorBasePlatform {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
setNotificationCount(count: number) {
|
public allowOverridingNativeContextMenus(): boolean {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public setNotificationCount(count: number): void {
|
||||||
if (this.notificationCount === count) return;
|
if (this.notificationCount === count) return;
|
||||||
super.setNotificationCount(count);
|
super.setNotificationCount(count);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue