Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Allow configuration of whether closing window closes or minimizes to tray #2688

Merged
merged 3 commits into from
Feb 25, 2019

Conversation

t3chguy
Copy link
Member

@t3chguy t3chguy commented Feb 24, 2019

Also moves the Autolaunch platform stuff into the BasePlatform otherwise Preferences Settings would crash given a non-VectorBasePlatform Platform.

Signed-off-by: Michael Telatynski 7t3chguy@gmail.com

…tray

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
@turt2live
Copy link
Member

Depends on element-hq/element-web#8908

Copy link
Member

@turt2live turt2live left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

generally looks sane otherwise, though

@@ -113,4 +113,29 @@ export default class BasePlatform {
reload() {
throw new Error("reload not implemented!");
}

supportsAutoLaunch(): boolean {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't have type annotations anywhere else. We probably should have them, but for now I'd say don't include them as it introduces confusion.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nvm, it is worse than that: we do use it in the scope of electron. I'm not going to block this PR on that :/

@turt2live turt2live merged commit f0353db into develop Feb 25, 2019
@t3chguy t3chguy deleted the t3chguy/minimize_tray branch May 25, 2020 18:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants