RIT-Dining/RIT Dining/Data/MenuDietaryRestrictionsModel.swift
NinjaCheetah e5d87ca488
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.
2025-11-12 21:56:50 -05:00

17 lines
444 B
Swift

//
// MenuDietaryRestrictionsModel.swift
// RIT Dining
//
// Created by Campbell on 11/11/25.
//
import SwiftUI
class MenuDietaryRestrictionsModel: ObservableObject {
var dietaryRestrictions = DietaryRestrictions()
@AppStorage("isVegetarian") var isVegetarian: Bool = false
@AppStorage("isVegan") var isVegan: Bool = false
@AppStorage("noBeef") var noBeef: Bool = false
@AppStorage("noPork") var noPork: Bool = false
}