Fix preview

This commit is contained in:
世界
2023-07-30 15:35:10 +08:00
parent 2ca6c515b9
commit fed5419ea0
8 changed files with 94 additions and 73 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ public struct MainView: View {
StartStopButton()
}
}
.onChangeComat(of: controlActiveState) { newValue in
.onChangeCompat(of: controlActiveState) { newValue in
if newValue != .inactive {
Task {
await loadProfile()