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 {
|
HStack {
|
||||||
homeViewTwoSectionHeaderView(month: month, year: year)
|
homeViewTwoSectionHeaderView(month: month, year: year)
|
||||||
|
|
||||||
Image(systemName: "square.and.arrow.up")
|
// Image(systemName: "square.and.arrow.up")
|
||||||
.foregroundColor(textColor)
|
// .foregroundColor(textColor)
|
||||||
.onTapGesture {
|
// .onTapGesture {
|
||||||
let impactMed = UIImpactFeedbackGenerator(style: .heavy)
|
// let impactMed = UIImpactFeedbackGenerator(style: .heavy)
|
||||||
impactMed.impactOccurred()
|
// impactMed.impactOccurred()
|
||||||
|
//
|
||||||
let _image = shareViewImage(month: month, year: year, entries: entries).asImage(size: CGSize(width: 400, height: 260))
|
// let _image = shareViewImage(month: month, year: year, entries: entries).asImage(size: CGSize(width: 400, height: 260))
|
||||||
self.shareImage.showFuckingSheet = true
|
// self.shareImage.showFuckingSheet = true
|
||||||
self.shareImage.fuckingWrappedShrable = _image
|
// self.shareImage.fuckingWrappedShrable = _image
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
Divider()
|
Divider()
|
||||||
LazyVGrid(columns: columns, spacing: 15) {
|
LazyVGrid(columns: columns, spacing: 15) {
|
||||||
|
|||||||
Reference in New Issue
Block a user