Skip to content

Commit 748f4f7

Browse files
joshtrichardsalperozturk96
authored andcommitted
chore: adjust color resources in DrawerActivity
Signed-off-by: Josh <josh.t.richards@gmail.com>
1 parent 0432bec commit 748f4f7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

app/src/main/java/com/owncloud/android/ui/activity/DrawerActivity.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ public void updateHeader() {
427427
if (Hct.fromInt(primaryColor).getTone() < 80.0) {
428428
fontColor = Color.WHITE;
429429
} else {
430-
fontColor = getColor(R.color.grey_900);
430+
fontColor = getColor(R.color.text_color);
431431
}
432432
serverNameView.setTextColor(fontColor);
433433
}
@@ -569,7 +569,7 @@ private void setDrawerHeaderLogo(Drawable drawable, String serverName) {
569569

570570
final var account = getAccount();
571571
final OCCapability capability = getCapabilities();
572-
int fontColor = getColor(R.color.primary_font); // fallback
572+
int fontColor = getColor(R.color.text_color); // fallback
573573

574574
if (account != null && capability != null) {
575575
ColorUtil colorUtil = new ColorUtil(this);
@@ -580,7 +580,7 @@ private void setDrawerHeaderLogo(Drawable drawable, String serverName) {
580580
if (Hct.fromInt(primaryColor).getTone() < 80.0) {
581581
fontColor = Color.WHITE;
582582
} else {
583-
fontColor = getColor(R.color.grey_900);
583+
fontColor = getColor(R.color.text_color);
584584
}
585585
}
586586

0 commit comments

Comments
 (0)