mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-04-24 11:52:13 +00:00
Improve: Notification Icon
This commit is contained in:
parent
fd7746f8b3
commit
424823dab2
@ -377,7 +377,7 @@ class DownloadService : ConnectionService<DownloadService.Binder>() {
|
|||||||
.setSmallIcon(android.R.drawable.stat_sys_download)
|
.setSmallIcon(android.R.drawable.stat_sys_download)
|
||||||
.setColor(
|
.setColor(
|
||||||
ContextThemeWrapper(this, R.style.Theme_Main_Light)
|
ContextThemeWrapper(this, R.style.Theme_Main_Light)
|
||||||
.getColorFromAttr(android.R.attr.colorAccent).defaultColor
|
.getColorFromAttr(android.R.attr.colorPrimary).defaultColor
|
||||||
)
|
)
|
||||||
.addAction(
|
.addAction(
|
||||||
0, getString(R.string.cancel), PendingIntent.getService(
|
0, getString(R.string.cancel), PendingIntent.getService(
|
||||||
|
@ -218,7 +218,7 @@ class SyncService : ConnectionService<SyncService.Binder>() {
|
|||||||
.setSmallIcon(android.R.drawable.stat_sys_warning)
|
.setSmallIcon(android.R.drawable.stat_sys_warning)
|
||||||
.setColor(
|
.setColor(
|
||||||
ContextThemeWrapper(this, R.style.Theme_Main_Light)
|
ContextThemeWrapper(this, R.style.Theme_Main_Light)
|
||||||
.getColorFromAttr(android.R.attr.colorAccent).defaultColor
|
.getColorFromAttr(android.R.attr.colorPrimary).defaultColor
|
||||||
)
|
)
|
||||||
.setContentTitle(getString(R.string.could_not_sync_FORMAT, repository.name))
|
.setContentTitle(getString(R.string.could_not_sync_FORMAT, repository.name))
|
||||||
.setContentText(
|
.setContentText(
|
||||||
@ -244,7 +244,7 @@ class SyncService : ConnectionService<SyncService.Binder>() {
|
|||||||
.setSmallIcon(R.drawable.ic_sync)
|
.setSmallIcon(R.drawable.ic_sync)
|
||||||
.setColor(
|
.setColor(
|
||||||
ContextThemeWrapper(this, R.style.Theme_Main_Light)
|
ContextThemeWrapper(this, R.style.Theme_Main_Light)
|
||||||
.getColorFromAttr(android.R.attr.colorAccent).defaultColor
|
.getColorFromAttr(android.R.attr.colorPrimary).defaultColor
|
||||||
)
|
)
|
||||||
.addAction(
|
.addAction(
|
||||||
0, getString(R.string.cancel), PendingIntent.getService(
|
0, getString(R.string.cancel), PendingIntent.getService(
|
||||||
@ -432,7 +432,7 @@ class SyncService : ConnectionService<SyncService.Binder>() {
|
|||||||
)
|
)
|
||||||
.setColor(
|
.setColor(
|
||||||
ContextThemeWrapper(this, R.style.Theme_Main_Light)
|
ContextThemeWrapper(this, R.style.Theme_Main_Light)
|
||||||
.getColorFromAttr(android.R.attr.colorAccent).defaultColor
|
.getColorFromAttr(android.R.attr.colorPrimary).defaultColor
|
||||||
)
|
)
|
||||||
.setContentIntent(
|
.setContentIntent(
|
||||||
PendingIntent.getActivity(
|
PendingIntent.getActivity(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user