Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tutanota - Remember Dark Mode #117

Closed
ghost opened this issue Mar 15, 2019 · 5 comments
Closed

Tutanota - Remember Dark Mode #117

ghost opened this issue Mar 15, 2019 · 5 comments

Comments

@ghost
Copy link

ghost commented Mar 15, 2019

Every time I open email-securely-app, the Tutanota web client is rendered in light mode by default. I would like an option to have it log into dark mode by default instead. The "change theme" option is on Tutanota's login screen. If I interrupt the sign-in process and switch to dark mode it works fine, but it doesn't remember this for next time I launch the program.

@vladimiry
Copy link
Owner

Tutanota most likely saves the theme in the browser's cookies or local storage. The app by design goes with the in-memory session store. So when you restart the app the previous session doesn't exist which means you get the default theme and other possible saved by Tutanota options.

There is no plan for enabling persistent sessions. Nevertheless, I believe it's feasible to intercept chosen theme value saving by the official web client and then saving it in app's config file instead (config.json file). Then the app, when it starts, would take the value and apply it. This would require to monkey patch the official web client.

Implementation of the described scenario is not going to happen in the near future. The issue gets low priority.

@vladimiry
Copy link
Owner

Every time I open email-securely-app

By the way, there is no email-securely-app anymore but ElectronMail. It's recommended to use the most recent app version.

@kzshantonu
Copy link

Meanwhile I set 10 seconds 'login delay range' for tuta accounts so I can manually pick the theme while it counts down. Works perfectly

@vladimiry
Copy link
Owner

Looks like you're getting to know the app features very well 👍

@vladimiry
Copy link
Owner

Closing due to #180.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants