Skip to content

Commit

Permalink
Enable notification lights
Browse files Browse the repository at this point in the history
Resolves #90
  • Loading branch information
tughi committed Jun 15, 2024
1 parent cbdd367 commit 3b1ef2a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/src/main/java/com/tughi/aggregator/Notifications.kt
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ object Notifications {
val notificationManager = context.getSystemService(Context.NOTIFICATION_SERVICE) as NotificationManager

val notificationChannel = NotificationChannel(NOTIFICATION_CHANNEL__MY_FEED, context.getString(R.string.notification_channel__my_feed), NotificationManager.IMPORTANCE_DEFAULT)
notificationChannel.enableLights(true)
notificationManager.createNotificationChannel(notificationChannel)

for (otherNotificationChannel in notificationManager.notificationChannels) {
Expand Down

0 comments on commit 3b1ef2a

Please sign in to comment.