Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
fix: Screen API is no longer available on renderer -> load via Remote
Browse files Browse the repository at this point in the history
  • Loading branch information
ThorstenHans committed Oct 18, 2019
1 parent 7163cb8 commit 22d71bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/ngx-electron/src/lib/electron.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export class ElectronService {
}

public get screen(): Electron.Screen {
return this.electron ? this.electron.screen : null;
return this.electron ? this.remote.screen : null;
}

public get shell(): Electron.Shell {
Expand Down

0 comments on commit 22d71bd

Please sign in to comment.