You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
488 B
Swift
18 lines
488 B
Swift
import Observation
|
|
import SwiftUI
|
|
|
|
struct CronSettings: View {
|
|
@Bindable var store: CronJobsStore
|
|
@Bindable var channelsStore: ChannelsStore
|
|
@State var showEditor = false
|
|
@State var editingJob: CronJob?
|
|
@State var editorError: String?
|
|
@State var isSaving = false
|
|
@State var confirmDelete: CronJob?
|
|
|
|
init(store: CronJobsStore = .shared, channelsStore: ChannelsStore = .shared) {
|
|
self.store = store
|
|
self.channelsStore = channelsStore
|
|
}
|
|
}
|