Path: blob/a-new-beginning/Folium-iOS/Enumerations/ApplicationState.swift
2 views
//
// ApplicationState.swift
// Folium-iOS
//
// Created by Jarrod Norwell on 22/7/2025.
//
import Foundation
enum ApplicationState : Int {
case backgrounded = 0,
foregrounded = 1,
disconnected = 2
var shouldPause: Bool {
switch self {
case .backgrounded,
.disconnected:
true
case .foregrounded:
false
}
}
}