Merge pull request #61 from 446564/remove-rcvd

remove msg notify prefix when preview avail
This commit is contained in:
zjs81 2026-01-20 21:11:08 -07:00 committed by GitHub
commit 1cc887e5bb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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