mirror of
https://github.com/mihonapp/mihon.git
synced 2025-10-30 13:57:57 +01:00
Fix black icon for small notifications on EMUI (#5350)
* Set notification icon fillColor to Android white Closes #5340 * Remove '_black' suffix from the glasses icon drawable
This commit is contained in:
@@ -81,7 +81,7 @@ open class App : Application(), LifecycleObserver, ImageLoaderFactory {
|
||||
val notification = notification(Notifications.CHANNEL_INCOGNITO_MODE) {
|
||||
setContentTitle(getString(R.string.pref_incognito_mode))
|
||||
setContentText(getString(R.string.notification_incognito_text))
|
||||
setSmallIcon(R.drawable.ic_glasses_black_24dp)
|
||||
setSmallIcon(R.drawable.ic_glasses_24dp)
|
||||
setOngoing(true)
|
||||
|
||||
val pendingIntent = PendingIntent.getBroadcast(
|
||||
|
||||
Reference in New Issue
Block a user