Skip to content

Commit

Permalink
Code format
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesa2 committed Aug 6, 2023
1 parent 9d4c640 commit 2ccaf0a
Showing 1 changed file with 4 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,8 @@ internal object Notify {

//build the notification
val notificationCompat = NotificationCompat.Builder(context, channelId)
notificationCompat.setAutoCancel(true)
.setContentTitle(contentTitle)
.setContentIntent(pendingIntent)
.setContentText(messageString)
.setTicker(ticker)
.setWhen(`when`)
.setSmallIcon(R.mipmap.ic_launcher)
notificationCompat.setAutoCancel(true).setContentTitle(contentTitle).setContentIntent(pendingIntent).setContentText(messageString)
.setTicker(ticker).setWhen(`when`).setSmallIcon(R.mipmap.ic_launcher)
val notification = notificationCompat.build()

notificationManager.notify(MessageID, notification)
Expand Down Expand Up @@ -93,13 +88,8 @@ internal object Notify {

//build the notification
val notificationCompat = NotificationCompat.Builder(context, channelId)
notificationCompat.setAutoCancel(true)
.setContentTitle(contentTitle)
.setContentIntent(pendingIntent)
.setContentText(connectionName)
.setTicker(ticker)
.setWhen(`when`)
.setSmallIcon(R.mipmap.ic_launcher)
notificationCompat.setAutoCancel(true).setContentTitle(contentTitle).setContentIntent(pendingIntent).setContentText(connectionName)
.setTicker(ticker).setWhen(`when`).setSmallIcon(R.mipmap.ic_launcher)
return notificationCompat.build()
}

Expand Down

0 comments on commit 2ccaf0a

Please sign in to comment.