feat: Added details of the type of bike available

Added details of the type of bike available; fixed a bug where the application would not load the bikes; added a shortcut to the settings app in the event of location refusal.
This commit is contained in:
2023-09-02 22:23:24 +02:00
parent 795510a061
commit 80fdaaad35
16 changed files with 51 additions and 21 deletions

View File

@ -7,14 +7,16 @@
import SwiftUI
@main
struct velibtrackerApp: App {
@ObservedObject var locationManager = LocationManager()
var body: some Scene {
WindowGroup {
ContentView()
}
}
// init() {
// fetchVelibData()
// }
init() {
fetchVelibDataLocation(lon: Double(locationManager.userLocation?.longitude ?? 0), lat: Double(locationManager.userLocation?.latitude ?? 0))
}
}