mirror of
https://github.com/TeamNewPipe/NewPipe.git
synced 2024-11-23 11:32:32 +01:00
changed color of snackbar action text
This commit is contained in:
parent
3c93c4714e
commit
1210ab0de0
@ -5,6 +5,7 @@ package org.schabi.newpipe;
|
||||
import android.app.Activity;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.graphics.Color;
|
||||
import android.net.Uri;
|
||||
import android.os.AsyncTask;
|
||||
import android.os.Build;
|
||||
@ -99,6 +100,7 @@ public class ErrorActivity extends AppCompatActivity {
|
||||
|
||||
if (rootView != null) {
|
||||
Snackbar.make(rootView, R.string.error_snackbar_message, Snackbar.LENGTH_LONG)
|
||||
.setActionTextColor(Color.YELLOW)
|
||||
.setAction(R.string.error_snackbar_action, new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
|
Loading…
Reference in New Issue
Block a user