mirror of
https://github.com/yggdrasil-network/yggdrasil-android.git
synced 2025-04-27 13:45:09 +03:00
Made better collapsed notification with status. (#34)
This commit is contained in:
parent
aa94ccad26
commit
b472c7283f
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