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

Replace CircleImageView with ShapeableImageView #7925

Merged
merged 1 commit into from
Feb 26, 2022

Conversation

TacoTheDank
Copy link
Member

@TacoTheDank TacoTheDank commented Feb 22, 2022

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

The CircleImageView library repository hasn't been touched in over a year (though I guess that doesn't matter much). ImageView transformation exists now in Google Material anyway, so the library is no longer necessary.

Before/After Screenshots/Screen Record

Not necessary. Although the margins and padding worked pretty differently between the two ImageView implementations (requiring quite a bit of adjustments), I matched the previous behavior as precisely as possible by using exact margins, adding some tiny padding where necessary, and other such things. I actually dare you to try and find a noticeable difference :) I DARE YOU-

APK testing

The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR.

Due diligence

Copy link
Member

@AudricV AudricV left a comment

Choose a reason for hiding this comment

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

Just a question and a suggestion. I didn't test your changes.

app/build.gradle Show resolved Hide resolved
Copy link
Member

@litetex litetex left a comment

Choose a reason for hiding this comment

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

LGTM

Code is ok and a short also revealed no problems.
Please change the code as @TiA4f8R noted above.

@TacoTheDank TacoTheDank force-pushed the removeCircleImageView branch from 386e130 to e60fc94 Compare February 23, 2022 19:45
@TacoTheDank TacoTheDank force-pushed the removeCircleImageView branch from e60fc94 to 1a000fe Compare February 23, 2022 20:11
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    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

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.

Code looks good to me, thank you!

@litetex litetex merged commit fb75519 into TeamNewPipe:dev Feb 26, 2022
@TacoTheDank TacoTheDank deleted the removeCircleImageView branch February 26, 2022 16:42
@Stypox Stypox mentioned this pull request Apr 16, 2022
12 tasks
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.

4 participants