added haptic feedback
This commit is contained in:
parent
4464ef5268
commit
7db90f7dce
|
@ -169,7 +169,11 @@ struct ContentView: View {
|
||||||
|
|
||||||
|
|
||||||
Section{
|
Section{
|
||||||
Button(action: {self.fetch.fetchAgain(q: self.query, p: String(self.noOfArticles), limit: self.LimitToChemrxiv, prepints: self.LimitToPreprints)}){
|
Button(action: {
|
||||||
|
self.fetch.fetchAgain(q: self.query, p: String(self.noOfArticles), limit: self.LimitToChemrxiv, prepints: self.LimitToPreprints)
|
||||||
|
let impactMed = UIImpactFeedbackGenerator(style: .medium)
|
||||||
|
impactMed.impactOccurred()
|
||||||
|
}){
|
||||||
Text("Get Papers")
|
Text("Get Papers")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue