mirror of
https://github.com/NinjaCheetah/RIT-Dining.git
synced 2026-03-05 05:25:29 -05:00
Added notifications for visiting chefs
You can now get notified when visiting chefs are on campus! A menu is available from the toolbar on the main screen that allows you to enable notifications and configure what visiting chefs you want to be notified for. You can also toggle if you want to be notified 1, 2, or 3 hours before the chef arrives on campus. Other changes in this commit: - Updated maps URL to be compatible with the new RIT map (however they don't open correctly- this is outside of my control) - Removed button linking to OnDemand at the request of RIT ITS
This commit is contained in:
17
RIT Dining/Data/Types/PushTypes.swift
Normal file
17
RIT Dining/Data/Types/PushTypes.swift
Normal file
@@ -0,0 +1,17 @@
|
||||
//
|
||||
// PushTypes.swift
|
||||
// RIT Dining
|
||||
//
|
||||
// Created by Campbell on 11/20/25.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
/// Struct to represent a visiting chef notification that has already been scheduled, allowing it to be loaded again later to recall what notifications have been scheduled.
|
||||
struct ScheduledVistingChefPush: Codable, Equatable {
|
||||
let uuid: String
|
||||
let name: String
|
||||
let location: String
|
||||
let startTime: Date
|
||||
let endTime: Date
|
||||
}
|
||||
Reference in New Issue
Block a user