Эх сурвалжийг харах

fixed snackbar coloring of the action button

Andy Scherzinger 9 жил өмнө
parent
commit
55b4952687

+ 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 {