mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Add allowOverridingNativeContextMenus()
(#17777)
This commit is contained in:
parent
6721a7162f
commit
491999281f
@ -308,7 +308,11 @@ export default class ElectronPlatform extends VectorBasePlatform {
|
||||
return true;
|
||||
}
|
||||
|
||||
setNotificationCount(count: number) {
|
||||
public allowOverridingNativeContextMenus(): boolean {
|
||||
return true;
|
||||
}
|
||||
|
||||
public setNotificationCount(count: number): void {
|
||||
if (this.notificationCount === count) return;
|
||||
super.setNotificationCount(count);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user