bug fixed

This commit is contained in:
crusader 2020-12-02 16:59:18 +09:00
parent caf46d7bd4
commit a45fef82ee

View File

@ -148,10 +148,10 @@ class WindowPooler {
} }
} }
type Activated = { interface Activated {
notification: Notification; notification: Notification;
browserWindow: Electron.BrowserWindow; browserWindow: Electron.BrowserWindow;
}; }
export class NotificationService { export class NotificationService {
private readonly __defaultOptions: DefaultOptions; private readonly __defaultOptions: DefaultOptions;
@ -482,8 +482,6 @@ export class NotificationService {
} }
private __templateUrl(notification: Notification): string { private __templateUrl(notification: Notification): string {
let u: string = '';
const filePath2Url = (filePath: string) => { const filePath2Url = (filePath: string) => {
return url.format({ return url.format({
protocol: 'file:', protocol: 'file:',