Skip to content

Commit

Permalink
do not open system settings when touching other rows (by forcing non-…
Browse files Browse the repository at this point in the history
…default tag value for system settings)
  • Loading branch information
r10s committed Jan 4, 2025
1 parent 84b438c commit 7b43ea6
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ internal final class NotificationsViewController: UITableViewController {
}

private enum CellTags: Int {
case defaultTagValue = 0
case systemSettings
}

Expand Down Expand Up @@ -132,6 +133,8 @@ internal final class NotificationsViewController: UITableViewController {
if let url = URL(string: urlString), UIApplication.shared.canOpenURL(url) {
UIApplication.shared.open(url)
}
case .defaultTagValue:
break
}
}

Expand Down

0 comments on commit 7b43ea6

Please sign in to comment.