question click
This commit is contained in:
@@ -1058,6 +1058,9 @@ private struct QuestionBubble: View {
|
|||||||
.onTapGesture {
|
.onTapGesture {
|
||||||
store.showQuestion(item.taskId, item.id)
|
store.showQuestion(item.taskId, item.id)
|
||||||
}
|
}
|
||||||
|
.environment(\.choiceTap, { [store, item] in
|
||||||
|
store.showQuestion(item.taskId, item.id)
|
||||||
|
})
|
||||||
.onHover { hover = $0 }
|
.onHover { hover = $0 }
|
||||||
.help("Show this question in the Questions tab")
|
.help("Show this question in the Questions tab")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user