Merge pull request #3552 from grummbeer/android-notification-exclamation-mark
Android. Remove exclamation mark from notification.
This commit is contained in:
		
						commit
						6859bfae98
					
				| @ -623,7 +623,7 @@ class MainService : Service() { | ||||
|             .setAutoCancel(true) | ||||
|             .setPriority(NotificationCompat.PRIORITY_DEFAULT) | ||||
|             .setContentTitle(DEFAULT_NOTIFY_TITLE) | ||||
|             .setContentText(translate(DEFAULT_NOTIFY_TEXT) + '!') | ||||
|             .setContentText(translate(DEFAULT_NOTIFY_TEXT)) | ||||
|             .setOnlyAlertOnce(true) | ||||
|             .setContentIntent(pendingIntent) | ||||
|             .setColor(ContextCompat.getColor(this, R.color.primary)) | ||||
| @ -689,7 +689,7 @@ class MainService : Service() { | ||||
| 
 | ||||
|     private fun setTextNotification(_title: String?, _text: String?) { | ||||
|         val title = _title ?: DEFAULT_NOTIFY_TITLE | ||||
|         val text = _text ?: translate(DEFAULT_NOTIFY_TEXT) + '!' | ||||
|         val text = _text ?: translate(DEFAULT_NOTIFY_TEXT) | ||||
|         val notification = notificationBuilder | ||||
|             .clearActions() | ||||
|             .setStyle(null) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user