import SwiftUI
-import CloudStorage
struct AdvancedSettings: View {
- @CloudStorage("backendUrl") var backendUrl: String = ""
- @CloudStorage("backendFormat") var backendFormat: OutputFormatSetting = .gifOnly
- @CloudStorage("keepFiles") var keepFiles = true
- @CloudStorage("allowURLAutomation") var allowURLAutomation = false
+ @AppStorage("backendUrl") var backendUrl: String = ""
+ @AppStorage("backendFormat") var backendFormat: OutputFormatSetting = .gifOnly
+ @AppStorage("keepFiles") var keepFiles = true
+ @AppStorage("allowURLAutomation") var allowURLAutomation = false
@State var showConfirmation = false
private var anyState: String { "\(backendUrl), \(backendFormat), \(keepFiles), \(allowURLAutomation)" }