mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 23:28:42 +03:00
Merge pull request #1384 from nextcloud/hardenPopulateUserInfoUi
Hardening of UserInfoActivity.populateUserInfoUi
This commit is contained in:
commit
e1f82dd3f7
2 changed files with 2 additions and 2 deletions
|
@ -1,2 +1,2 @@
|
|||
DO NOT TOUCH; GENERATED BY DRONE
|
||||
<span class="mdl-layout-title">Lint Report: 1 error and 563 warnings</span>
|
||||
<span class="mdl-layout-title">Lint Report: 1 error and 520 warnings</span>
|
||||
|
|
|
@ -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())) {
|
||||
|
|
Loading…
Reference in a new issue