Skip to content

Commit f6bb46a

Browse files
Replaced QuestsListUiview with Mapview in Mapviewcontroller.
1 parent caff51c commit f6bb46a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

GoInfoGame/GoInfoGame/UI/MapViewController.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
import UIKit
99
import SwiftUI
1010

11-
class MapViewController: UIHostingController<QuestsListUIView> {
11+
class MapViewController: UIHostingController<MapView> {
1212

1313
override func viewDidLoad() {
1414
super.viewDidLoad()
1515

1616
// Do any additional setup after loading the view.
1717
}
1818
required init?(coder aDecoder: NSCoder) {
19-
super.init(coder: aDecoder, rootView: QuestsListUIView())
19+
super.init(coder: aDecoder, rootView: MapView())
2020
}
2121
}

GoInfoGame/GoInfoGame/quests/StepsRamp/StepsRamp.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ class StepsRamp: QuestBase, Quest {
5757

5858
func onAnswer(answer: StepsRampAnswer) {
5959
if let rData = self.relationData {
60-
6160
// self.updateTags(id: rData.id, tags: ["ramp":"s"], type: rData.type)
6261
}
6362
}
6463

64+
6565
func copyWithElement(element: Element) -> any Quest {
6666
let q = StepsRamp()
6767
q.relationData = element

0 commit comments

Comments
 (0)