diff options
author | Christian Schneppe <christian@pix-art.de> | 2017-12-23 23:32:46 +0100 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2017-12-23 23:32:46 +0100 |
commit | 1056adb285a367b7485e447e1a673a0885e9167e (patch) | |
tree | 13f7e532f35f78e27609f89d59139e3761f7a1a7 /src/main/java/de/pixart/messenger/ui | |
parent | 1cee1ffcfd48e66446b7ac863fb1048c0d57b4d9 (diff) |
PublishProfilePictureActivity: fix avatar size
Diffstat (limited to 'src/main/java/de/pixart/messenger/ui')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/PublishProfilePictureActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/PublishProfilePictureActivity.java b/src/main/java/de/pixart/messenger/ui/PublishProfilePictureActivity.java index 707d7cfc8..415e5a5df 100644 --- a/src/main/java/de/pixart/messenger/ui/PublishProfilePictureActivity.java +++ b/src/main/java/de/pixart/messenger/ui/PublishProfilePictureActivity.java @@ -251,7 +251,7 @@ public class PublishProfilePictureActivity extends XmppActivity implements XmppC bm = avatarService().get(account, getPixel(Config.AVATAR_SIZE)); } else { try { - bm = xmppConnectionService.getFileBackend().cropCenterSquare(uri, getPixel(192)); + bm = xmppConnectionService.getFileBackend().cropCenterSquare(uri, getPixel(Config.AVATAR_SIZE)); } catch (Exception e) { Log.d(Config.LOGTAG, "unable to load bitmap into image view", e); } |