Fix Read iCloud profile before starting

This commit is contained in:
世界 committed 2024-05-03 17:15:01 +08:00
1 parent 6a8fb1156f
commit 17eec08615
5 files changed
+25 -15

No files matched your search

@@ -77,7 +77,6 @@ public struct StartStopButton: View {
private nonisolated func switchProfile(_ isEnabled: Bool) async {
do {
if isEnabled {
try await profile.read()
try await profile.start()
await environments.logClient.connect()
} else {