mirror of
https://github.com/nextcloud/android.git
synced 2024-12-23 09:10:33 +03:00
use correct color after rebase
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
c43633ebb9
commit
dc0ca5cc84
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue