Fix: App Crash on Download

This commit is contained in:
LooKeR 2021-11-21 14:11:26 +05:30
parent 98a274dcc5
commit 5f64a8f071

View File

@ -216,7 +216,10 @@ class DownloadService : ConnectionService<DownloadService.Binder>() {
.Builder(this, Common.NOTIFICATION_CHANNEL_DOWNLOADING)
.setAutoCancel(true)
.setSmallIcon(android.R.drawable.stat_sys_warning)
.setColor(getColorFromAttr(R.attr.colorAccent).defaultColor)
.setColor(
ContextThemeWrapper(this, R.style.Theme_Main_Light)
.getColorFromAttr(R.attr.colorAccent).defaultColor
)
.setContentIntent(
PendingIntent.getBroadcast(
this,