work on share view UI a bit
This commit is contained in:
@@ -114,7 +114,7 @@ struct LongestStreakTemplate: View, SharingTemplate {
|
||||
.font(.title)
|
||||
.foregroundColor(Color(UIColor.label))
|
||||
.frame(maxWidth: .infinity, alignment: .center)
|
||||
.padding(.top, 1)
|
||||
.padding()
|
||||
|
||||
HStack {
|
||||
Text(self.moodEntries.first?.forDate ?? Date(), formatter: itemFormatter)
|
||||
@@ -135,6 +135,8 @@ struct LongestStreakTemplate: View, SharingTemplate {
|
||||
.frame(maxWidth: .infinity, alignment: .center)
|
||||
.padding(.top, 1)
|
||||
}
|
||||
.padding()
|
||||
|
||||
HStack {
|
||||
VStack {
|
||||
LazyVGrid(columns: columns, spacing: 0) {
|
||||
@@ -157,6 +159,8 @@ struct LongestStreakTemplate: View, SharingTemplate {
|
||||
var mainView: some View {
|
||||
VStack {
|
||||
shareView
|
||||
.background(Color(UIColor.secondarySystemBackground))
|
||||
.cornerRadius(10)
|
||||
Spacer()
|
||||
Menu(content: {
|
||||
ForEach(Mood.allValues) { mood in
|
||||
|
||||
Reference in New Issue
Block a user