diff options
| author | Dustin Mierau <dustin@mierau.me> | 2023-12-06 13:52:20 -0800 |
|---|---|---|
| committer | Dustin Mierau <dustin@mierau.me> | 2023-12-06 13:52:20 -0800 |
| commit | c0068f11c51bb587c16dfacb73629b3c6fb67fc8 (patch) | |
| tree | 20753433f348b03bb590e0fe6a4cafbe56f4c859 /Hotline/Views/HotlineState.swift | |
| parent | 06a2166415bca7e5fe32eac505859bdd690ab8e0 (diff) | |
Further work on UI organization
Diffstat (limited to 'Hotline/Views/HotlineState.swift')
| -rw-r--r-- | Hotline/Views/HotlineState.swift | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/Hotline/Views/HotlineState.swift b/Hotline/Views/HotlineState.swift deleted file mode 100644 index 9ae4940..0000000 --- a/Hotline/Views/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 - } -} |