Read iCloud profile before start
This commit is contained in:
1 parent
1c5bc23a25
commit
6a8fb1156f
1 file changed
+1
@@ -77,6 +77,7 @@ 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 {
|
||||
|
||||
Reference in new issue
Block a user