mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-18 04:08:44 +03:00
adding new copy for the foreground listening notification
This commit is contained in:
parent
c173adb783
commit
48678382ba
3 changed files with 3 additions and 2 deletions
|
@ -43,7 +43,7 @@ class GuardService : Service() {
|
|||
}
|
||||
|
||||
override fun onStartCommand(intent: Intent?, flags: Int, startId: Int): Int {
|
||||
val notificationSubtitleRes = R.string.notification_listening_for_events
|
||||
val notificationSubtitleRes = R.string.notification_listening_for_notifications
|
||||
val notification = notificationUtils.buildForegroundServiceNotification(notificationSubtitleRes, false)
|
||||
startForeground(NotificationUtils.NOTIFICATION_ID_FOREGROUND_SERVICE, notification)
|
||||
return START_STICKY
|
||||
|
|
|
@ -83,7 +83,7 @@ class VectorSyncService : SyncService() {
|
|||
val notificationSubtitleRes = if (isInitialSync) {
|
||||
R.string.notification_initial_sync
|
||||
} else {
|
||||
R.string.notification_listening_for_events
|
||||
R.string.notification_listening_for_notifications
|
||||
}
|
||||
val notification = notificationUtils.buildForegroundServiceNotification(notificationSubtitleRes, false)
|
||||
startForeground(NotificationUtils.NOTIFICATION_ID_FOREGROUND_SERVICE, notification)
|
||||
|
|
|
@ -322,6 +322,7 @@
|
|||
<string name="notification_sync_init">Initializing service</string>
|
||||
<string name="notification_sync_in_progress">Synchronising…</string>
|
||||
<string name="notification_listening_for_events">Listening for events</string>
|
||||
<string name="notification_listening_for_notifications">Listening for notifications</string>
|
||||
<string name="notification_noisy_notifications">Noisy notifications</string>
|
||||
<string name="notification_silent_notifications">Silent notifications</string>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue