#2803 Waypoints with line breaks (#3101)

Co-authored-by: James Rich <2199651+jamesarich@users.noreply.github.com>
This commit is contained in:
Dane Evans 2025-09-15 22:20:45 +10:00 committed by GitHub
parent be0fd20710
commit 57630326c1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -52,8 +52,8 @@ fun WaypointMarkers(
} else {
unicodeEmojiToBitmapProvider(waypoint.icon)
},
title = waypoint.name,
snippet = waypoint.description,
title = waypoint.name.replace('\n', ' ').replace('\b', ' '),
snippet = waypoint.description.replace('\n', ' ').replace('\b', ' '),
visible = true,
onInfoWindowClick = {
if (waypoint.lockedTo == 0 || waypoint.lockedTo == myNodeNum || !isConnected) {