diff options
-rw-r--r-- | Qrious/ContentView.swift | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Qrious/ContentView.swift b/Qrious/ContentView.swift index 120cd4e..ebb12dc 100644 --- a/Qrious/ContentView.swift +++ b/Qrious/ContentView.swift @@ -169,7 +169,11 @@ struct ContentView: View { 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") } } |