work on share view UI a bit

This commit is contained in:
Trey t
2022-02-17 18:37:04 -06:00
parent 107086b695
commit 43bbaa4546
4 changed files with 55 additions and 31 deletions

View File

@@ -111,10 +111,10 @@ struct MonthTotalTemplate: View, SharingTemplate {
.font(.title)
.foregroundColor(Color(UIColor.label))
.frame(maxWidth: .infinity, alignment: .center)
.padding(.top, 1)
.padding()
VStack {
LazyVGrid(columns: columns, spacing: 0) {
LazyVGrid(columns: columns, spacing: 10) {
ForEach(moodEntries) { entry in
entry.mood.icon
.resizable()
@@ -123,17 +123,18 @@ struct MonthTotalTemplate: View, SharingTemplate {
}
}
}
.padding()
circularViews
.padding([.trailing, .leading, .top])
Spacer()
}
}
var mainView: some View {
VStack {
shareView
.background(Color(UIColor.secondarySystemBackground))
.cornerRadius(10)
Spacer()
HStack(alignment: .center) {
Button(action: {