add sharing to month view

This commit is contained in:
Trey t
2022-03-15 14:57:21 -05:00
parent db24115272
commit 1257a6342e
2 changed files with 58 additions and 4 deletions

View File

@@ -53,6 +53,9 @@ struct MonthDetailView: View {
Image(systemName: "square.and.arrow.up")
.padding(.trailing)
.onTapGesture {
let impactMed = UIImpactFeedbackGenerator(style: .heavy)
impactMed.impactOccurred()
let _image = self.image
self.shareImage.showFuckingSheet = true
self.shareImage.fuckingWrappedShrable = _image