Acode icon indicating copy to clipboard operation
Acode copied to clipboard

Editor theme resets on app restart

Open vonhyd opened this issue 7 months ago • 2 comments

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

vonhyd avatar Jun 12 '25 16:06 vonhyd

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 avatar Jun 13 '25 08:06 bajrangCoder

@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.

vonhyd avatar Jun 13 '25 14:06 vonhyd

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!

github-actions[bot] avatar Aug 13 '25 03:08 github-actions[bot]

Acode warns when changing editor theme

RohitKushvaha01 avatar Aug 13 '25 05:08 RohitKushvaha01