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
A way to restore a previously selected theme. #3
Comments
@multinerd Hi, thanks for your suggestion. It is as easy as persisting the theme name to |
@multinerd actually I would prefer to use Swift 4 |
Sounds good to me. No rush, I have a work around where I save a bool and set theme based on that. |
@multinerd I just updated https://github.com/hyperoslo/Cache to Swift 4 using One the 2nd thought, I think I just save the name of the current What do you think ? |
I've completely forgot about the ability to load from JSON. For the most part, I've been using your second approach. I've added a string property called When i opened this ticket, i was hoping it would be as simple as saving the name and setting it based on some sort of reflection. You would know better than I if that's possible, I'm still a newb coder. |
Lets say a user selects a dark theme. When the user exits the app and relaunches, the theme resets to whatever is in code.
Would be nice if the user's preference was persistence without the need for further implementations. I believe Themeable does this and would make a great feature.
The text was updated successfully, but these errors were encountered: