remove msg notify prefix when preview avail

this removes the 'Received new message: ' prefix from notications
when there is a message preview available
chore/offband-rebrand
446564 6 months ago
parent 3fdd8f5eaf
commit 26d9029538

@ -206,7 +206,7 @@ class NotificationService {
final preview = _truncateMessage(message, 30); final preview = _truncateMessage(message, 30);
final body = preview.isEmpty final body = preview.isEmpty
? 'Received new message' ? 'Received new message'
: 'Received new message: $preview'; : preview;
await _notifications.show( await _notifications.show(
channelIndex?.hashCode ?? DateTime.now().millisecondsSinceEpoch, channelIndex?.hashCode ?? DateTime.now().millisecondsSinceEpoch,

Loading…
Cancel
Save

Powered by TurnKey Linux.