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:
Trey t
2022-04-11 23:05:59 -04:00
parent 1e5b02858e
commit 26fffc1b74
13 changed files with 128 additions and 131 deletions

View File

@@ -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) {