浏览代码

fixed snackbar coloring of the action button

Andy Scherzinger 9 年之前
父节点
当前提交
55b4952687
共有 1 个文件被更改,包括 1 次插入1 次删除
  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
                 // Changing action button text color
                 View sbView = snackbar.getView();
                 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));
                 textView.setTextColor(ContextCompat.getColor(this, R.color.white));
                 snackbar.show();
                 snackbar.show();
             } else {
             } else {