Skip to content

Commit 2983f45

Browse files
committed
Notification config
1 parent ee8c152 commit 2983f45

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

mobile/android/app/src/main/java/com/robosats/NotificationsService.java

+4-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,10 @@ private Notification buildServiceNotification() {
114114
.setContentTitle("Tor Notifications")
115115
.setContentText("The app will run on the background to send you notifications about your orders.")
116116
.setSmallIcon(R.mipmap.ic_icon)
117-
.setTicker("Robosats");
117+
.setTicker("Robosats")
118+
.setPriority(NotificationCompat.PRIORITY_MIN)
119+
.setOngoing(true)
120+
.setAutoCancel(false);
118121

119122
return builder.build();
120123
}

0 commit comments

Comments
 (0)