perf(efficiency): 落实首批采样减负与发行包瘦身
This commit is contained in:
@@ -63,9 +63,10 @@ struct AppearanceSettingsView: View {
|
||||
}
|
||||
}
|
||||
Section {
|
||||
Toggle("sampling.backgroundEnabled", isOn: $sampling.backgroundEnabled)
|
||||
LabeledContent("sampling.background") {
|
||||
IntervalControl(milliseconds: $sampling.backgroundMilliseconds)
|
||||
}
|
||||
}.disabled(!sampling.backgroundEnabled)
|
||||
Text("sampling.backgroundHelp").font(.callout).foregroundStyle(.secondary)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user