rename view to day month year
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
import SwiftUI
|
||||
import CoreData
|
||||
|
||||
struct FilterView: View {
|
||||
struct YearView: View {
|
||||
let weekdays = [("Sun", 1), ("mon", 2), ("tue", 3), ("wed", 4), ("thur", 5), ("fri", 6), ("sat", 7)]
|
||||
let months = [(0, "J"), (1, "F"), (2,"M"), (3,"A"), (4,"M"), (5, "J"), (6,"J"), (7,"A"), (8,"S"), (9,"O"), (10, "N"), (11,"D")]
|
||||
|
||||
@@ -172,12 +172,12 @@ struct FilterView: View {
|
||||
}
|
||||
}
|
||||
|
||||
struct FilterView_Previews: PreviewProvider {
|
||||
struct YearView_Previews: PreviewProvider {
|
||||
static var previews: some View {
|
||||
Group {
|
||||
FilterView()
|
||||
YearView()
|
||||
|
||||
FilterView()
|
||||
YearView()
|
||||
.preferredColorScheme(.dark)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user