Skip to content

Conversation

@KonerDev
Copy link
Member

@KonerDev KonerDev commented Sep 26, 2025

Changes

  • Change min text size from 8 to 6
  • Change max text size from 32 to 100 (the same value as in vscode)
  • Set pinch zoom factor to the same values
  • Implement error support for the InputDialog
  • Show errors in input field instead of toast messages
  • Reset value after clicking on Cancel

Closes #671 (I did not implement the zoom factor percentage number because I think that's not important)

Copy link
Member

@RohitKushvaha01 RohitKushvaha01 left a comment

Choose a reason for hiding this comment

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

Extended Icons library will increase the app size too much

@KonerDev
Copy link
Member Author

Extended Icons library will increase the app size too much

Why don't we simply set isMinifyEnabled and isShrinkResources to true? This will automatically remove all unused resources, such as unnecessary icons. In my tests, the app size with the library and this value would actually be smaller than without both.

isMinifyEnabled = false
isCrunchPngs = false
isShrinkResources = false

@RohitKushvaha01
Copy link
Member

Extended Icons library will increase the app size too much

Why don't we simply set isMinifyEnabled and isShrinkResources to true? This will automatically remove all unused resources, such as unnecessary icons. In my tests, the app size with the library and this value would actually be smaller than without both.

isMinifyEnabled = false
isCrunchPngs = false
isShrinkResources = false

Enabling minification causes issues, and sora editor doesn't behave well

@KonerDev
Copy link
Member Author

Extended Icons library will increase the app size too much

Why don't we simply set isMinifyEnabled and isShrinkResources to true? This will automatically remove all unused resources, such as unnecessary icons. In my tests, the app size with the library and this value would actually be smaller than without both.

isMinifyEnabled = false
isCrunchPngs = false
isShrinkResources = false

Enabling minification causes issues, and sora editor doesn't behave well

Why don't you just add Proguard rules to solve the issues?

If that's not possible, we could simply add this error drawable manually.

@RohitKushvaha01 RohitKushvaha01 merged commit f69263f into Xed-Editor:main Sep 29, 2025
@KonerDev KonerDev deleted the feature/improve-settings branch October 1, 2025 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

dynamic (pinch) zoom factor expected much larger

2 participants