mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-04-24 03:42:15 +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)
|
||||
.setColor(
|
||||
ContextThemeWrapper(this, R.style.Theme_Main_Light)
|
||||
.getColorFromAttr(android.R.attr.colorAccent).defaultColor
|
||||
.getColorFromAttr(android.R.attr.colorPrimary).defaultColor
|
||||
)
|
||||
.addAction(
|
||||
0, getString(R.string.cancel), PendingIntent.getService(
|
||||
|
@ -218,7 +218,7 @@ class SyncService : ConnectionService<SyncService.Binder>() {
|
||||
.setSmallIcon(android.R.drawable.stat_sys_warning)
|
||||
.setColor(
|
||||
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))
|
||||
.setContentText(
|
||||
@ -244,7 +244,7 @@ class SyncService : ConnectionService<SyncService.Binder>() {
|
||||
.setSmallIcon(R.drawable.ic_sync)
|
||||
.setColor(
|
||||
ContextThemeWrapper(this, R.style.Theme_Main_Light)
|
||||
.getColorFromAttr(android.R.attr.colorAccent).defaultColor
|
||||
.getColorFromAttr(android.R.attr.colorPrimary).defaultColor
|
||||
)
|
||||
.addAction(
|
||||
0, getString(R.string.cancel), PendingIntent.getService(
|
||||
@ -432,7 +432,7 @@ class SyncService : ConnectionService<SyncService.Binder>() {
|
||||
)
|
||||
.setColor(
|
||||
ContextThemeWrapper(this, R.style.Theme_Main_Light)
|
||||
.getColorFromAttr(android.R.attr.colorAccent).defaultColor
|
||||
.getColorFromAttr(android.R.attr.colorPrimary).defaultColor
|
||||
)
|
||||
.setContentIntent(
|
||||
PendingIntent.getActivity(
|
||||
|
Loading…
x
Reference in New Issue
Block a user