Skip to content
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

Remove unused resources #234

Merged
merged 4 commits into from Dec 23, 2019

Conversation

nielsvanvelzen
Copy link
Member

This PR removes:

  • Unused drawables
  • Unused layout files
  • Unused strings (in all languages)
  • Unused array definitions
  • Unused ids (never referenced)
  • Unused legacy theme

This will clean up the app a tiny bit. Most work is done using the "Remove Unused Resources" refactor function in Android Studio with additional removal and changes done manually.

Copy link
Member

@thornbill thornbill left a comment

Choose a reason for hiding this comment

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

I would like to keep the theme, otherwise this looks good! 👍

app/src/main/res/values/themes.xml Outdated Show resolved Hide resolved
@thornbill
Copy link
Member

It looks like a translation for one of the removed strings has been added to master which is causing the CI build failure. This will need rebased on the latest master and that string removed.

  /home/vsts/work/1/s/app/src/main/res/values-da/strings.xml:156: Error: "lbl_select_color" is translated here but not found in default locale [ExtraTranslation]
      <string name="lbl_select_color">Vælg Farve</string>

@thornbill thornbill merged commit a5a1b8c into jellyfin:master Dec 23, 2019
@nielsvanvelzen nielsvanvelzen deleted the remove-unused-resources branch December 28, 2019 13:28
@nielsvanvelzen nielsvanvelzen added this to In progress in v0.11.0 via automation Jan 28, 2020
@nielsvanvelzen nielsvanvelzen moved this from In progress to Done in v0.11.0 Jan 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
v0.11.0
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants