use correct color after rebase

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
Andy Scherzinger 2019-05-19 17:19:10 +02:00
parent c43633ebb9
commit dc0ca5cc84
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B

View file

@ -33,6 +33,7 @@ import com.owncloud.android.lib.common.operations.RemoteOperationResult;
import com.owncloud.android.operations.RichDocumentsUrlOperation; import com.owncloud.android.operations.RichDocumentsUrlOperation;
import com.owncloud.android.ui.activity.RichDocumentsWebView; import com.owncloud.android.ui.activity.RichDocumentsWebView;
import com.owncloud.android.utils.DisplayUtils; import com.owncloud.android.utils.DisplayUtils;
import com.owncloud.android.utils.ThemeUtils;
import java.lang.ref.WeakReference; import java.lang.ref.WeakReference;
@ -80,9 +81,9 @@ public class LoadUrlTask extends AsyncTask<String, Void, String> {
if (richDocumentsWebView.getWebview().getVisibility() != View.VISIBLE) { if (richDocumentsWebView.getWebview().getVisibility() != View.VISIBLE) {
Snackbar snackbar = DisplayUtils.createSnackbar(richDocumentsWebView.findViewById(android.R.id.content), Snackbar snackbar = DisplayUtils.createSnackbar(richDocumentsWebView.findViewById(android.R.id.content),
R.string.timeout_richDocuments, Snackbar.LENGTH_INDEFINITE) R.string.timeout_richDocuments, Snackbar.LENGTH_INDEFINITE)
.setActionTextColor(richDocumentsWebView.getResources().getColor(R.color.white))
.setAction(R.string.fallback_weblogin_back, v -> richDocumentsWebView.closeView()); .setAction(R.string.fallback_weblogin_back, v -> richDocumentsWebView.closeView());
ThemeUtils.colorSnackbar(richDocumentsWebView.getApplicationContext(),snackbar);
richDocumentsWebView.setLoadingSnackbar(snackbar); richDocumentsWebView.setLoadingSnackbar(snackbar);
snackbar.show(); snackbar.show();
} }