update strings
update empty views take out headers on customize views make refresh on sample row go through moods great->horrible other small UI changes
This commit is contained in:
@@ -48,15 +48,8 @@ struct MonthView: View {
|
||||
var body: some View {
|
||||
ZStack {
|
||||
if viewModel.hasNoData {
|
||||
VStack {
|
||||
Spacer()
|
||||
Text(String(localized: "month_view_no_data"))
|
||||
.font(.title)
|
||||
.padding()
|
||||
.fixedSize(horizontal: false, vertical: true)
|
||||
.foregroundColor(textColor)
|
||||
Spacer()
|
||||
}
|
||||
EmptyHomeView(showVote: false, viewModel: nil)
|
||||
.padding()
|
||||
} else {
|
||||
ScrollView {
|
||||
VStack(spacing: 5) {
|
||||
@@ -178,17 +171,6 @@ extension MonthView {
|
||||
VStack {
|
||||
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
|
||||
// }
|
||||
}
|
||||
Divider()
|
||||
LazyVGrid(columns: columns, spacing: 15) {
|
||||
|
||||
Reference in New Issue
Block a user