diff options
| author | Dustin Mierau <dustin@mierau.me> | 2023-12-20 09:43:59 -0800 |
|---|---|---|
| committer | Dustin Mierau <dustin@mierau.me> | 2023-12-20 09:43:59 -0800 |
| commit | f58b0da88077b3129c2321b4af82b807c6d38ebf (patch) | |
| tree | 20b280106770c0733059894a87844617edf8bdcf /Hotline/HotlineState.swift | |
| parent | 980b82d42eb8e5160f0495ad6f4472b1fc649bfe (diff) | |
Remove HotlineState class for now. Not maintaining global state info yet.
Diffstat (limited to 'Hotline/HotlineState.swift')
| -rw-r--r-- | Hotline/HotlineState.swift | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/Hotline/HotlineState.swift b/Hotline/HotlineState.swift deleted file mode 100644 index 9ae4940..0000000 --- a/Hotline/HotlineState.swift +++ /dev/null @@ -1,24 +0,0 @@ -import Foundation -import SwiftUI - -@Observable -class HotlineState { - var agreementPresented = false - var trackerPresented = true - - func presentTracker() { - self.trackerPresented = true - } - - func dismissTracker() { - self.trackerPresented = false - } - - func presentAgreement() { - self.agreementPresented = true - } - - func dismissAgreement() { - self.agreementPresented = false - } -} |