diff --git a/src/main/java/com/owncloud/android/ui/activity/UserInfoActivity.java b/src/main/java/com/owncloud/android/ui/activity/UserInfoActivity.java index ea00eaa663..9111368b60 100644 --- a/src/main/java/com/owncloud/android/ui/activity/UserInfoActivity.java +++ b/src/main/java/com/owncloud/android/ui/activity/UserInfoActivity.java @@ -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())) {