mirror of
https://github.com/zjs81/meshcore-open.git
synced 2026-04-20 22:13:48 +00:00
Merge pull request #61 from 446564/remove-rcvd
remove msg notify prefix when preview avail
This commit is contained in:
commit
1cc887e5bb
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue