Working spreadsheet view, pending UI updates

This commit is contained in:
2026-04-05 00:15:25 -05:00
parent c228c26589
commit 46e61bae00
3 changed files with 192 additions and 0 deletions

View File

@@ -1,8 +1,23 @@
import SwiftUI
import LabWiseKit
import UIKit
// Controls which orientations are allowed app-wide at runtime.
// SpreadsheetView flips this to .landscape; all other screens use .allButUpsideDown.
final class AppDelegate: NSObject, UIApplicationDelegate {
static var orientationLock: UIInterfaceOrientationMask = .allButUpsideDown
func application(
_ application: UIApplication,
supportedInterfaceOrientationsFor window: UIWindow?
) -> UIInterfaceOrientationMask {
AppDelegate.orientationLock
}
}
@main
struct LabWiseApp: App {
@UIApplicationDelegateAdaptor(AppDelegate.self) var appDelegate
@State private var appState = AppState.shared
var body: some Scene {