Browse Source

fixed snackbar coloring of the action button

Andy Scherzinger 9 years ago
parent
commit
55b4952687
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/com/owncloud/android/ui/activity/FileDisplayActivity.java

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

@@ -231,7 +231,7 @@ public class FileDisplayActivity extends HookActivity
 
                 // Changing action button text color
                 View sbView = snackbar.getView();
-                TextView textView = (TextView) sbView.findViewById(android.support.design.R.id.snackbar_text);
+                TextView textView = (TextView) sbView.findViewById(android.support.design.R.id.snackbar_action);
                 textView.setTextColor(ContextCompat.getColor(this, R.color.white));
                 snackbar.show();
             } else {