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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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