make avatar rounding independent of image size
This commit is contained in:
parent
1af0b6fd48
commit
2851e4d38b
7 changed files with 27 additions and 17 deletions
|
|
@ -145,7 +145,7 @@ public class NotificationHelper {
|
|||
try {
|
||||
accountAvatar = Picasso.with(context)
|
||||
.load(body.getAccount().getAvatar())
|
||||
.transform(new RoundedTransformation(7, 0))
|
||||
.transform(new RoundedTransformation(20))
|
||||
.get();
|
||||
} catch (IOException e) {
|
||||
Log.d(TAG, "error loading account avatar", e);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue