import SwiftUI struct SettingsScreen: View { @EnvironmentObject var clientsStore: ClientsStore var body: some View { ZStack { // bg Color.Material.Background.light .ignoresSafeArea() // debug buttons #if DEBUG // clean all data Button { clientsStore.flushAllData() Database.shared.flushAllData() } label: { Text("Clean all (for test)") .font(.title) .foregroundColor(.Material.Elements.active) } #endif } } }