diff options
Diffstat (limited to 'iosApp/iosApp/Map/MapView.swift')
-rw-r--r-- | iosApp/iosApp/Map/MapView.swift | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/iosApp/iosApp/Map/MapView.swift b/iosApp/iosApp/Map/MapView.swift new file mode 100644 index 0000000..3530946 --- /dev/null +++ b/iosApp/iosApp/Map/MapView.swift @@ -0,0 +1,37 @@ +// +// MapView.swift +// iosApp +// +// Created by Iván on 28/01/22. +// Copyright © 2022 orgName. All rights reserved. +// + +import SwiftUI + +struct MapView: View { + @StateObject var unitsViewModel: UnitsViewModel + + var body: some View { + ZStack { + Text("Unimplemented!") + } + .navigationTitle("map") + .toolbar { + ToolbarItem(placement: .navigationBarLeading) { + Button(action: unitsViewModel.toggleDisplayMode) { + Image(systemName: "list.bullet") + } + } + ToolbarItem(placement: .navigationBarTrailing) { + Button(action: {}) { + Image(systemName: "square.stack.3d.up") + } + } + ToolbarItem(placement: .navigationBarTrailing) { + Button(action: {}) { + Image(systemName: "person") + } + } + } + } +} |