feat: Add drawing tools localization and update SAR message handling

This commit is contained in:
Janez T
2025-10-23 19:33:35 +02:00
parent 98cda8c976
commit 200e506df8
19 changed files with 129 additions and 21 deletions

View File

@@ -117,12 +117,9 @@ class SarMessageParser {
return message.copyWith(
isSarMarker: true,
sarMarkerType: sarInfo.type,
sarGpsCoordinates: sarInfo.location,
sarNotes: sarInfo.notes, // Extract and store notes
sarCustomEmoji: sarInfo.type == SarMarkerType.unknown
? sarInfo.emoji // Preserve custom emoji for unknown types
: null,
sarCustomEmoji: sarInfo.emoji, // Always store emoji for type inference
sarColorIndex: sarInfo.colorIndex, // Store color index
);
}