set static height for homescreen graph
home screen graph start at zero
This commit is contained in:
@@ -176,11 +176,11 @@ struct ContentView: View {
|
||||
viewModel.add(mood: mood, forDate: date)
|
||||
}
|
||||
})
|
||||
.frame(minHeight: 85, maxHeight: 180)
|
||||
.frame(height: 180)
|
||||
.frame(minWidth: 0, maxWidth: .infinity)
|
||||
} else {
|
||||
HeaderStatsView(fakeData: false, backDays: 30)
|
||||
.frame(minHeight: 85, maxHeight: 180)
|
||||
.frame(height: 180)
|
||||
// should match backDays above
|
||||
Text("Past \(30) days")
|
||||
.font(.body)
|
||||
|
||||
Reference in New Issue
Block a user