Skip to content

Conversation

@TacoTheDank
Copy link
Member

@TacoTheDank TacoTheDank commented Mar 22, 2021

What is it?

  • Bugfix (user facing)
  • Feature (user facing)
  • Codebase improvement (dev facing)
  • Meta improvement to the project (dev facing)

Description of the changes in your PR

  • As far as I'm aware, we don't need onCreate in the settings fragments when using PreferenceFragmentCompat, as it calls its own base method (which subsequently calls onCreatePreferences at its end). Please correct me if I have forgotten something.

APK testing

https://github.com/TeamNewPipe/NewPipe/suites/2318767009/artifacts/48743154

Due diligence

@triallax triallax added the codequality Improvements to the codebase to improve the code quality label Mar 22, 2021
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@triallax triallax added the feature request Issue is related to a feature in the app label Mar 23, 2021
Copy link
Member

@Stypox Stypox left a comment

Choose a reason for hiding this comment

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

Thank you! I tested on API 19 and API 30 and everything looks fine.

@Stypox Stypox merged commit daa5b78 into TeamNewPipe:dev Mar 28, 2021
@TacoTheDank TacoTheDank deleted the clean-oncreatepreferences branch March 28, 2021 22:25
This was referenced Apr 11, 2021
tossj pushed a commit to tossj/NewPipe-legacy that referenced this pull request Apr 23, 2021
…createpreferences

Clean up unnecessary onCreate in settings fragments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

codequality Improvements to the codebase to improve the code quality feature request Issue is related to a feature in the app

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants