Browse Source

icons with light background need to be keep with dark color

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 5 years ago
parent
commit
57db615a33

+ 1 - 3
src/main/java/com/owncloud/android/ui/fragment/FileDetailSharingFragment.java

@@ -207,11 +207,9 @@ public class FileDetailSharingFragment extends Fragment implements UserListAdapt
         // todo extract
         internalLinkIcon.getBackground().setColorFilter(getResources().getColor(R.color.grey_db),
                                                         PorterDuff.Mode.SRC_IN);
-        internalLinkIcon.getDrawable().mutate().setColorFilter(getResources().getColor(R.color.textColor),
+        internalLinkIcon.getDrawable().mutate().setColorFilter(getResources().getColor(R.color.black),
                                                                PorterDuff.Mode.SRC_IN);
 
-
-
         return view;
     }
 

+ 1 - 1
src/main/res/values/colors.xml

@@ -22,7 +22,7 @@
     <color name="owncloud_blue_bright">#00ddff</color>
 
     <color name="list_item_lastmod_and_filesize_text">@color/secondaryTextColor</color>
-    <!--<color name="black">#000000</color>-->
+    <color name="black">#000000</color>
     <!--<color name="white">#FFFFFF</color>-->
     <color name="textColor">#000000</color>
     <color name="textColor_inverse">#ffffff</color>