mirror of
https://github.com/zjs81/meshcore-open.git
synced 2026-07-20 07:41:03 +10:00
Merge pull request #61 from 446564/remove-rcvd
remove msg notify prefix when preview avail
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user