From d6bcb576e026ad701a4bdcb30366f72e7205fe77 Mon Sep 17 00:00:00 2001 From: AndyScherzinger Date: Sun, 20 Aug 2017 19:55:04 +0200 Subject: [PATCH] resolves #1382 #1383 by using ThemeUtils implementation --- .../java/com/owncloud/android/ui/activity/UserInfoActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())) {