take share out of month view b/c user can screenshot and crop
This commit is contained in:
@@ -187,16 +187,16 @@ extension MonthView {
|
||||
HStack {
|
||||
homeViewTwoSectionHeaderView(month: month, year: year)
|
||||
|
||||
Image(systemName: "square.and.arrow.up")
|
||||
.foregroundColor(textColor)
|
||||
.onTapGesture {
|
||||
let impactMed = UIImpactFeedbackGenerator(style: .heavy)
|
||||
impactMed.impactOccurred()
|
||||
|
||||
let _image = shareViewImage(month: month, year: year, entries: entries).asImage(size: CGSize(width: 400, height: 260))
|
||||
self.shareImage.showFuckingSheet = true
|
||||
self.shareImage.fuckingWrappedShrable = _image
|
||||
}
|
||||
// Image(systemName: "square.and.arrow.up")
|
||||
// .foregroundColor(textColor)
|
||||
// .onTapGesture {
|
||||
// let impactMed = UIImpactFeedbackGenerator(style: .heavy)
|
||||
// impactMed.impactOccurred()
|
||||
//
|
||||
// let _image = shareViewImage(month: month, year: year, entries: entries).asImage(size: CGSize(width: 400, height: 260))
|
||||
// self.shareImage.showFuckingSheet = true
|
||||
// self.shareImage.fuckingWrappedShrable = _image
|
||||
// }
|
||||
}
|
||||
Divider()
|
||||
LazyVGrid(columns: columns, spacing: 15) {
|
||||
|
||||
Reference in New Issue
Block a user