-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Respect avatar border for TextDrawable #16283
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
base: master
Are you sure you want to change the base?
Conversation
alperozturk96
left a comment
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.
Thank you :)
...since they can't resize automatically, so the border must be calculated into the radius Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
8c544eb to
7c03008
Compare
|
Fixed the typo @alperozturk96 - thanks for the review 🙏 |
|
blue-Light-Screenshot test failed, but no output was generated. Maybe a preliminary stage failed. |
|
APK file: https://www.kaminsky.me/nc-dev/android-artifacts/16283.apk |

...since they can't resize automatically, so the border must be calculated into the radius.
Follow-up to #16227
🖼️ Screenshots
For testing have a file shared with you by a user that got deactivated, so you don't get an avatar from the server. The fallback is a TextDrawable but that doesn't resize, so in case of the avatar group the border needs to be calculated into the radius, else the avatar is (slightly) to big.