Skip to content

Conversation

@xuzhi2021
Copy link

  1. Because resetAppColor() sortNeeded=(dbutils.getsortstypes ()==SORT_BY_COLOR) is usually false, it passes the parameter sortNeeded=false to addAppAfterReset method. Then it will not call sortApps() and not refresh UI.
  2. If the parameter sortNeeded is passed true from resetAppColor(), the effect will be the same as "Reset All". Because the original size is not preserved.
    After solving thiese two problems and manually testing the effect, "Reset Color" resets the app text color without changing its size. successfully.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants