Files
openclaw/apps/macos/Sources/OpenClaw/CronSettings.swift

18 lines
488 B
Swift
Raw Normal View History

import Observation
2025-12-13 02:34:18 +00:00
import SwiftUI
struct CronSettings: View {
@Bindable var store: CronJobsStore
@Bindable var channelsStore: ChannelsStore
2025-12-24 19:36:10 +01:00
@State var showEditor = false
@State var editingJob: CronJob?
@State var editorError: String?
@State var isSaving = false
@State var confirmDelete: CronJob?
2025-12-13 02:34:18 +00:00
init(store: CronJobsStore = .shared, channelsStore: ChannelsStore = .shared) {
2025-12-13 02:34:18 +00:00
self.store = store
self.channelsStore = channelsStore
2025-12-13 02:34:18 +00:00
}
2025-12-24 17:42:14 +01:00
}