From 7b43ea6ea1c73e63dbfa400dfe355ba5bf140821 Mon Sep 17 00:00:00 2001 From: "B. Petersen" Date: Sat, 4 Jan 2025 14:10:22 +0100 Subject: [PATCH] do not open system settings when touching other rows (by forcing non-default tag value for system settings) --- .../Controller/Settings/NotificationsViewController.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deltachat-ios/Controller/Settings/NotificationsViewController.swift b/deltachat-ios/Controller/Settings/NotificationsViewController.swift index aa616c6d7..54272098c 100644 --- a/deltachat-ios/Controller/Settings/NotificationsViewController.swift +++ b/deltachat-ios/Controller/Settings/NotificationsViewController.swift @@ -11,6 +11,7 @@ internal final class NotificationsViewController: UITableViewController { } private enum CellTags: Int { + case defaultTagValue = 0 case systemSettings } @@ -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 } }