Skip to content

Commit

Permalink
Fix: Update the view correctly after clearing all regions
Browse files Browse the repository at this point in the history
  • Loading branch information
below committed Oct 5, 2022
1 parent d906598 commit 7d231a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GeofenceTester/SettingsViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ class SettingsViewController: UIViewController, LocationUser {
) { [self]_ in
for region in self.locationManager.monitoredRegions {
self.locationManager.stopMonitoring(for: region)
NotificationCenter.default.post(Notification(
name: RegionsListViewController.UpdateNotificationName))
}
NotificationCenter.default.post(Notification(
name: RegionsListViewController.UpdateNotificationName))
}
}

Expand Down

0 comments on commit 7d231a1

Please sign in to comment.