some stuff

This commit is contained in:
2026-09-01 22:16:06 +02:00
parent dbd29bf421
commit f0299e4371
2 changed files with 3 additions and 2 deletions
@@ -170,6 +170,7 @@ fun startGTFSTracking(url: String, api_key: String, callee: Activity) {
offset += messageParsed.features.size;
}while(messageParsed.features.isNotEmpty())
}
/* TODO: remove or fix Lags
// put all stops on the map
GTFSMainHandler.post {
Toast.makeText(callee, "Drawing stops...", Toast.LENGTH_SHORT).show()}
@@ -187,7 +188,7 @@ fun startGTFSTracking(url: String, api_key: String, callee: Activity) {
}
GTFSMainHandler.post {
Toast.makeText(callee, "Done drawing ${gtfsStops.features.size} stops", Toast.LENGTH_SHORT).show()}
*/
} catch(e: Exception) {
GTFSMainHandler.post {
Toast.makeText(callee, e.message ?: "Unknown error", Toast.LENGTH_SHORT).show()