resolves #1382 #1383 by using ThemeUtils implementation

This commit is contained in:
AndyScherzinger 2017-08-20 19:55:04 +02:00
parent b18f6b394c
commit d6bcb576e0
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B

View file

@ -312,7 +312,7 @@ public class UserInfoActivity extends FileActivity {
DisplayUtils.setAvatar(account, UserInfoActivity.this,
mCurrentAccountAvatarRadiusDimension, getResources(), getStorageManager(), avatar);
int tint = Color.parseColor(getStorageManager().getCapability(account.name).getServerColor());
int tint = ThemeUtils.primaryColor(account);
if (userInfo != null) {
if (!TextUtils.isEmpty(userInfo.getDisplayName())) {