Add allowOverridingNativeContextMenus() (#17777)

This commit is contained in:
Šimon Brandner
2022-03-03 11:39:42 +01:00
committed by GitHub
parent 6721a7162f
commit 491999281f

View File

@@ -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);