Updated app.ts

This commit is contained in:
Amaru8 2022-04-12 15:31:56 +00:00 committed by GitHub
parent 43b52432b2
commit 2d7ccd9f87
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -299,7 +299,7 @@ export class AppEvents {
const menu = Menu.buildFromTemplate([ const menu = Menu.buildFromTemplate([
{ {
label: (visible ? this.i18n['action.tray.minimize'] : `${this.i18n['action.tray.show']} ${app.getName()}`), label: (visible ? this.i18n['action.tray.minimize'] : `${this.i18n['action.tray.show']}`),
click: () => { click: () => {
if (utils.getWindow()) { if (utils.getWindow()) {
if (visible) { if (visible) {