mirror of
https://github.com/NinjaCheetah/RIT-Dining.git
synced 2026-03-05 05:25:29 -05:00
Changed icon to new RIT-trademark-free one
Replaced the icon with a more generic tiger pawprint so that I'm not using an RIT trademark, so that I'm prepared for the first App Store release. Also added information about where menu information is being sourced from on the about screen, and fixed a bug where vegetarian/vegan/no beef/no pork toggles would not be written to UserDefaults.
This commit is contained in:
@@ -7,10 +7,10 @@
|
||||
|
||||
import SwiftUI
|
||||
|
||||
@Observable
|
||||
class MenuDietaryRestrictionsModel {
|
||||
var filteredDietaryMarkers: Set<String> = []
|
||||
class MenuDietaryRestrictionsModel: ObservableObject {
|
||||
var dietaryRestrictions = DietaryRestrictions()
|
||||
var isVegetarian: Bool = false
|
||||
var isVegan: Bool = false
|
||||
@AppStorage("isVegetarian") var isVegetarian: Bool = false
|
||||
@AppStorage("isVegan") var isVegan: Bool = false
|
||||
@AppStorage("noBeef") var noBeef: Bool = false
|
||||
@AppStorage("noPork") var noPork: Bool = false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user