From 9eb5728fe5f7a90226e0df0da9c6dcf93edac114 Mon Sep 17 00:00:00 2001 From: Diogo Simao Marques <dogo@videolabs.io> Date: Wed, 22 Jan 2025 14:23:30 +0100 Subject: [PATCH] SettingsSection: Add the missing switch case The .opticID switch case was previously removed and was generating a warning which could lead to an error in Xcode 6.0 --- Sources/Settings/Model/SettingsSection.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Settings/Model/SettingsSection.swift b/Sources/Settings/Model/SettingsSection.swift index f302d9824..c8a0e0170 100644 --- a/Sources/Settings/Model/SettingsSection.swift +++ b/Sources/Settings/Model/SettingsSection.swift @@ -283,7 +283,7 @@ enum PrivacyOptions { return .toggle(title: "SETTINGS_PASSCODE_LOCK_ALLOWFACEID", subtitle: nil, preferenceKey: kVLCSettingPasscodeAllowFaceID) - case .none: + case .none, .opticID: fallthrough @unknown default: return nil -- GitLab