Skip to content

Commit

Permalink
Read iCloud profile before start
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperKenVery authored Apr 29, 2024
1 parent 1c5bc23 commit 6a8fb11
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ApplicationLibrary/Views/Dashboard/StartStopButton.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 6a8fb11

Please sign in to comment.