mirror of
https://github.com/Dasemu/NavFrame.git
synced 2026-11-26 15:26:05 +00:00
fix: render route preview warning on a new line
This commit is contained in:
1 parent
b14c625263
commit
a7f7198fd3
1 file changed
+1
-1
@@ -618,7 +618,7 @@ class TftService : Service() {
|
|||||||
distanceMeters = metres.coerceAtMost(Int.MAX_VALUE.toLong()).toInt(),
|
distanceMeters = metres.coerceAtMost(Int.MAX_VALUE.toLong()).toInt(),
|
||||||
durationSeconds = 0, destination = geometry.last(), imported = true)
|
durationSeconds = 0, destination = geometry.last(), imported = true)
|
||||||
prepareImportedRoute(ImportedRoute(imported.name, result, isTrack = true))
|
prepareImportedRoute(ImportedRoute(imported.name, result, isTrack = true))
|
||||||
mutableRouteInfo.value = "GPX ajustado a carreteras · %.1f km · %d puntos\\nComprueba que no haya autovías ni tramos inadecuados antes de salir. No hay avisos de giro ni recálculo.".format(java.util.Locale.ROOT, metres / 1000.0, geometry.size)
|
mutableRouteInfo.value = "GPX ajustado a carreteras · %.1f km · %d puntos\nComprueba que no haya autovías ni tramos inadecuados antes de salir. No hay avisos de giro ni recálculo.".format(java.util.Locale.ROOT, metres / 1000.0, geometry.size)
|
||||||
} catch (cancelled: CancellationException) {
|
} catch (cancelled: CancellationException) {
|
||||||
throw cancelled
|
throw cancelled
|
||||||
} catch (error: Exception) {
|
} catch (error: Exception) {
|
||||||
|
|||||||
Reference in new issue
Block a user