Skip to content

Commit 98ae247

Browse files
committed
Added workspace name as title in the maps screen
1 parent 480b127 commit 98ae247

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

GoInfoGame/GoInfoGame/UI/Map/MapView.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,11 @@ struct MapView: View {
222222
.navigationBarHidden(isPresented)
223223
.navigationBarItems(leading: EmptyView())
224224
.toolbar {
225+
ToolbarItem(placement: .topBarLeading) {
226+
Text(selectedWorkspace?.title ?? "")
227+
.font(.custom("Lato-Bold", size: 16))
228+
.foregroundStyle(Asset.Colors.huskyPurple.swiftUIColor)
229+
}
225230

226231
ToolbarItem(placement: .navigationBarTrailing) {
227232
QuestSyncButton(badgeCount: viewModel.syncFailedElementsCount, isSyncing: isSyncing, action: {

0 commit comments

Comments
 (0)