add ability to rate a missing day

made bgview equatable so it doesn't get redrawn each time a sheet is shown

add more string to localization

fill in missing data on launch ... incase they have bgfetch turned off
This commit is contained in:
Trey t
2022-01-23 11:18:01 -06:00
parent 8ece03abce
commit fc62413a53
6 changed files with 79 additions and 8 deletions

View File

@@ -32,7 +32,7 @@ struct BGViewItem: View {
}
}
struct BGView: View {
struct BGView: View, Equatable {
var numAcross: Int
var numDown: Int
let iconSize = 35
@@ -61,6 +61,10 @@ struct BGView: View {
}
.padding(.top, -50)
}
static func == (lhs: BGView, rhs: BGView) -> Bool {
return true
}
}
struct BGView_Previews: PreviewProvider {