mirror of
https://github.com/rhysd/Mstdn.git
synced 2025-01-21 20:52:11 +01:00
tslint
This commit is contained in:
parent
d5e3194025
commit
2b6b6c14eb
14
main/app.ts
14
main/app.ts
@ -24,6 +24,13 @@ export class App {
|
||||
this.setupHotkey();
|
||||
}
|
||||
|
||||
start() {
|
||||
const a = this.switcher.current;
|
||||
const url = `https://${a.host}${a.default_page}`;
|
||||
this.win.open(url);
|
||||
log.debug('Application started', a, url);
|
||||
}
|
||||
|
||||
private setupHotkey() {
|
||||
if (!this.config.hot_key) {
|
||||
return;
|
||||
@ -46,13 +53,6 @@ export class App {
|
||||
log.debug('Hot key was set to:', this.config.hot_key);
|
||||
}
|
||||
|
||||
start() {
|
||||
const a = this.switcher.current;
|
||||
const url = `https://${a.host}${a.default_page}`;
|
||||
this.win.open(url);
|
||||
log.debug('Application started', a, url);
|
||||
}
|
||||
|
||||
private setupTray() {
|
||||
if (this.win.menubar) {
|
||||
// Note:
|
||||
|
Loading…
x
Reference in New Issue
Block a user