diff options
author | 2020-02-28 03:30:39 +0100 | |
---|---|---|
committer | 2020-02-28 03:30:39 +0100 | |
commit | 2d32211bb494f3f7b0f3a4da42a3be4630a67650 (patch) | |
tree | a47bb1ffb8104c8913ada031cf0a2d44caa79193 /src/lib | |
parent | Merge branch 'develop' into fix/lock-menu (diff) | |
download | ferdium-app-2d32211bb494f3f7b0f3a4da42a3be4630a67650.tar.gz ferdium-app-2d32211bb494f3f7b0f3a4da42a3be4630a67650.tar.zst ferdium-app-2d32211bb494f3f7b0f3a4da42a3be4630a67650.zip |
Pass missing lock state to _titleBarTemplateFactory
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Menu.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/Menu.js b/src/lib/Menu.js index 2ac7e4465..91e7c981a 100644 --- a/src/lib/Menu.js +++ b/src/lib/Menu.js | |||
@@ -750,7 +750,9 @@ export default class FranzMenu { | |||
750 | } | 750 | } |
751 | 751 | ||
752 | const { intl } = window.ferdi; | 752 | const { intl } = window.ferdi; |
753 | const tpl = isMac ? _templateFactory(intl, this.stores.settings.app.locked) : _titleBarTemplateFactory(intl); | 753 | const tpl = isMac |
754 | ? _templateFactory(intl, this.stores.settings.app.locked) | ||
755 | : _titleBarTemplateFactory(intl, this.stores.settings.app.locked); | ||
754 | const { actions } = this; | 756 | const { actions } = this; |
755 | 757 | ||
756 | if (this.stores.settings.app.locked) { | 758 | if (this.stores.settings.app.locked) { |