mirror of
https://github.com/nextcloud/android.git
synced 2024-11-28 02:17:43 +03:00
fixed snackbar coloring of the action button
This commit is contained in:
parent
9d9bc6958b
commit
55b4952687
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue