StorageLoadingView.swift 549 B

1234567891011121314151617181920
  1. // LoopFollow
  2. // StorageLoadingView.swift
  3. import SwiftUI
  4. /// Shown at the root until `StorageReadiness.ready` — only while a BFU background
  5. /// launch is foregrounded mid-hydration; a normal launch opens straight to
  6. /// `MainTabView`. Must not read `Storage` (values are poisoned here) — system
  7. /// colors only.
  8. struct StorageLoadingView: View {
  9. var body: some View {
  10. ZStack {
  11. Color(.systemBackground)
  12. .ignoresSafeArea()
  13. ProgressView()
  14. .controlSize(.large)
  15. }
  16. }
  17. }