-
Notifications
You must be signed in to change notification settings - Fork 258
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
refactor: remove BuildConfig from preference keys #3023
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lint be like
src/en/ask4movie/src/eu/kanade/tachiyomi/animeextension/en/ask4movie/Ask4Movie.kt
Outdated
Show resolved
Hide resolved
src/en/ask4movie/src/eu/kanade/tachiyomi/animeextension/en/ask4movie/Ask4Movie.kt
Outdated
Show resolved
Hide resolved
Nice timing |
Wtf are you in my walls? |
Btw, could you mark affected extensions with a |
For the full list you can just look at this pr or search for the comment in the whole project |
so how do you solve the "baseurl constantly changing" problem then? waiting for pull get merge again? |
I already explained that in my pull request comment, you shouldn't rely on BuildConfig in the preference keys |
Using the version number as the key will leave a trail of obsolete preferences, which should be avoided. I don't mean to prevent overridable baseurls with this pr, it's just that they should be implemented in such a way that doesn't create unnecessary preference items. I also don't want to convert all to a new system, since a lot of extension appears to not have changed urls in a long time.