forked from AcaMate/AcaMate_iOS
20 lines
329 B
Swift
20 lines
329 B
Swift
//
|
|
// AlertController.swift
|
|
// AcaMate
|
|
//
|
|
// Created by Sean Kim on 12/13/24.
|
|
//
|
|
|
|
import SwiftUI
|
|
import Combine
|
|
|
|
|
|
class AlertController: ObservableObject {
|
|
@Published var showAlert: Bool = false
|
|
var alertData: AlertData = .init(body: "")
|
|
|
|
let alertAction = CurrentValueSubject<String?, Never>(nil)
|
|
|
|
|
|
}
|