Skip to content

Commit

Permalink
code cleaning
Browse files Browse the repository at this point in the history
Signed-off-by: Marino Faggiana <[email protected]>
  • Loading branch information
marinofaggiana committed Jun 21, 2024
1 parent ad3ea5f commit 32af40c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions iOSClient/Account Settings/NCAccountSettingsModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class NCAccountSettingsModel: ObservableObject, ViewOnAppearHandling {
@Published var accountRequest: Bool = false
/// Set true for dismiss the view
@Published var dismissView = false
///
/// Token observe tableAccount
private var notificationToken: NotificationToken?

/// Initialization code to set up the ViewModel with the active account
Expand Down Expand Up @@ -82,11 +82,11 @@ class NCAccountSettingsModel: ObservableObject, ViewOnAppearHandling {
switch changes {
case .initial:
break
case .update(let results, let deletions, let insertions, let modifications):
case .update:
DispatchQueue.main.async {
self?.objectWillChange.send()
}
case .error(let error):
case .error:
break
}
}
Expand Down

0 comments on commit 32af40c

Please sign in to comment.