Editor theme resets on app restart
Check for existing issues
- [x] Completed
Describe the bug / provide steps to reproduce it
When the app theme is set to "system" the editor theme is reset on app restart. If this is normal behaviour it should be displayed in the theme settings.
Thanks for this awesome app! I can provide more info if needed.
Environment
Device Information: WebView Info: Package Name: app.vanadium.webview Version: 137.0.7151.89.0
App Info: Name: Acode Package Name: com.foxdebug.acode Version: 1.11.3 Version Code: 959
Device Info: Android Version: 15 Manufacturer: Google Model: Pixel 9 Platform: Android Cordova Version: 14.0.1
Screen Info: Width: 412 Height: 924 Color Depth: 24
Additional Info: Language: en-US User Agent: Mozilla/5.0 (Linux; Android 10; K; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/137.0.0.0 Mobile Safari/537.36
GrapheneOS Build: 2025060200
If applicable, add mockups / screenshots regarding your vision
No response
If applicable, attach your Acode.log file to this issue.
Acode.log
https://github.com/Acode-Foundation/Acode/commit/52bf3a59c4aebe422d8cfdecf5c85191ed6f6004#commitcomment-159332133
But I have a plan to set editor theme based on system in settings:
editorTheme: {
"light": "some light theme name",
"dark": "dark theme"
}
These are just some ideas , not sure about it
@bajrangCoder I like the idea of doing it this way the confusion comes from when the appTheme changes immediately but the editorTheme doesn't change until the app is reset. Being able to pick which themes are used for light and dark as well as having the change happen immediately OR letting the user know they need to restart the app to see their changes will clear up this confusion.
Hi there! 👋 We're working to clean up our issue tracker by closing older issues that might not be relevant anymore. If you are able to reproduce this issue in the latest version of Acode, please let us know by commenting on this issue(i.e Bump!), and we will keep it open. If you can't reproduce it, feel free to close the issue yourself. Otherwise, we'll close it in 14 days. Thanks for your help!
Acode warns when changing editor theme