Skip to content

Commit

Permalink
Made better collapsed notification with status. (yggdrasil-network#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
Revertron authored Nov 19, 2022
1 parent aa94cca commit b472c72
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ fun createServiceNotification(context: Context, state: State): Notification {
}

return NotificationCompat.Builder(context, channelId)
.setContentTitle(context.getText(R.string.app_name))
.setContentText(text)
.setShowWhen(false)
.setContentTitle(text)
.setSmallIcon(R.drawable.ic_tile_icon)
.setContentIntent(pendingIntent)
.setPriority(NotificationCompat.PRIORITY_MIN)
Expand Down

0 comments on commit b472c72

Please sign in to comment.