Fix Read iCloud profile before starting

This commit is contained in:
世界
2024-05-03 17:15:01 +08:00
parent 6a8fb1156f
commit 17eec08615
5 changed files with 25 additions and 15 deletions
@@ -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 {