Skip to content

Commit

Permalink
consistent formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
esiqveland committed Oct 7, 2022
1 parent 55773d8 commit 2099633
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions notification.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,18 @@ func SendNotification(conn *dbus.Conn, note Notification) (uint32, error) {
durationMs := int32(note.ExpireTimeout.Milliseconds())

obj := conn.Object(dbusNotificationsInterface, dbusObjectPath)
call := obj.Call(callNotify, 0,
call := obj.Call(
callNotify,
0,
note.AppName,
note.ReplacesID,
note.AppIcon,
note.Summary,
note.Body,
actions,
note.Hints,
durationMs)
durationMs,
)
if call.Err != nil {
return 0, fmt.Errorf("error sending notification: %w", call.Err)
}
Expand Down

0 comments on commit 2099633

Please sign in to comment.