Added some more normal calendar places, played with the day and calendar view
This commit is contained in:
		| @@ -29,7 +29,8 @@ struct TrashModel { | ||||
|             Trash(type: "plastic", color: .orange, image: "waterbottle"), | ||||
|             Trash(type: "paper", color: .blue, image: "newspaper"), | ||||
|             Trash(type: "bio", color: .green, image: "tree"), | ||||
|             Trash(type: "residual", color: .gray, image: "trash") | ||||
|             Trash(type: "residual", color: .gray, image: "trash"), | ||||
|             Trash(type: "none", color: .white, image: "") | ||||
|         ] | ||||
|          | ||||
|         self.trashEvents = [] | ||||
| @@ -80,8 +81,8 @@ struct TrashModel { | ||||
|                 self.trashEvents.append( | ||||
|                     TrashEvent( | ||||
|                         id: i, | ||||
|                         trash: self.trashTypes[3], | ||||
|                         date: Calendar.current.date(byAdding: .day, value: 6 +  7 + 7*i, to: Date())! | ||||
|                         trash: self.trashTypes[4], | ||||
|                         date: Calendar.current.date(byAdding: .day, value: 3 +  7 + 7*i, to: Date())! | ||||
|                     ) | ||||
|                 ) | ||||
|             } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user