Skip to content

Commit 16a52d3

Browse files
committed
Fixed steps incline submission
1 parent d35ac21 commit 16a52d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GoInfoGame/GoInfoGame/quests/StepsIncline/StepsInclineForm.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ struct StepsInclineForm: View, QuestForm {
3232
VStack (alignment: .leading){
3333
Text(LocalizedStrings.selectOne.localized).font(.caption).foregroundColor(.gray)
3434
ImageGridItemView(gridCount: 2, isLabelBelow: true, imageData: imageData, isImageRotated: true, isDisplayImageOnly: false, isScrollable: false, allowMultipleSelection: false, onTap: { (selectedImage) in
35-
action?(.down)
35+
action?(StepsInclineDirection(rawValue: selectedImage.first ?? "") ?? .down)
3636
}, selectedImages:$selectedImage)
3737
Divider()
3838
HStack() {

0 commit comments

Comments
 (0)