mvp-ai's picture
download
raw
603 Bytes
import SwiftUI
struct UsageDashboardView: View {
@ObservedObject var model: CockpitModel
#if os(macOS)
@State private var showingAccounts = false
#endif
var body: some View {
#if os(macOS)
UsageDashboardContent(
state: model.usageState,
onOpenSettings: { showingAccounts = true }
)
.sheet(isPresented: $showingAccounts) {
UsageAccountSettingsView(baseURL: model.baseURL)
}
.navigationTitle("Usage")
#else
UsageDashboardContent(state: model.usageState)
.navigationTitle("Usage")
#endif
}
}

Xet Storage Details

Size:
603 Bytes
·
Xet hash:
e31e08d5bb828cbde21d8d7f624c275ac1372cda99bf34b5131aac93bc867ffa

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.