mirror of
https://github.com/yggdrasil-network/yggdrasil-android.git
synced 2025-04-27 21:55:08 +03:00
Made better collapsed notification with status.
This commit is contained in:
parent
aa94ccad26
commit
0c4d9c6be4
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue