浏览代码

Replaced Drawer logo color by Primary one (with white-replace)

Signed-off-by: Kilian Périsset <kilian.perisset@infomaniak.com>
Kilian Périsset 4 年之前
父节点
当前提交
00df846744
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/owncloud/android/ui/activity/DrawerActivity.java

+ 1 - 1
src/main/java/com/owncloud/android/ui/activity/DrawerActivity.java

@@ -263,7 +263,7 @@ public abstract class DrawerActivity extends ToolbarActivity
      */
     private void setupDrawerHeader() {
         ImageView drawerLogo = findViewById(R.id.drawer_header_logo);
-        drawerLogo.setColorFilter(Color.parseColor(getCapabilities().getServerColor()));
+        drawerLogo.setColorFilter(ThemeUtils.primaryColor(getAccount(), true, this));
     }
 
     /**