6.6.2 - Alpha5 - 重新设计应用的状态栏图标

This commit is contained in:
SuperMonster003
2025-03-19 17:35:01 +08:00
parent 5e83d1b9f5
commit 0125ac27e1
3 changed files with 3 additions and 3 deletions

View File

@@ -50,7 +50,7 @@ public class ForegroundServiceUtils {
.setContentTitle(title)
.setContentText(content)
.setContentIntent(contentIntent)
.setSmallIcon(R.drawable.autojs6_material)
.setSmallIcon(R.drawable.autojs6_status_bar_icon)
.setAutoCancel(true)
.setOngoing(false)
.setSilent(true)

View File

@@ -96,7 +96,7 @@ object NotificationUtils {
title?.let { setContentTitle(it) }
content?.let { setContentText(it) }
bigContent?.let { setStyle(NotificationCompat.BigTextStyle().bigText(it)) }
setSmallIcon(R.drawable.autojs6_material)
setSmallIcon(R.drawable.autojs6_status_bar_icon)
}
}
@@ -105,7 +105,7 @@ object NotificationUtils {
@Suppress("DEPRECATION")
return NotificationCompat.Builder(globalAppContext)
.apply {
setSmallIcon(R.drawable.autojs6_material)
setSmallIcon(R.drawable.autojs6_status_bar_icon)
/**
* For Android 7.1 and below only.
*/

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB