mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
add the content scanner URL to the app settings
This commit is contained in:
@@ -23,6 +23,7 @@ nonisolated protocol CommonSettingsProtocol: AnyObject, Sendable {
|
|||||||
var logLevel: LogLevel { get }
|
var logLevel: LogLevel { get }
|
||||||
var traceLogPacks: Set<TraceLogPack> { get }
|
var traceLogPacks: Set<TraceLogPack> { get }
|
||||||
var bugReportRageshakeURL: RemotePreference<RageshakeConfiguration> { get }
|
var bugReportRageshakeURL: RemotePreference<RageshakeConfiguration> { get }
|
||||||
|
var contentScannerURL: RemotePreference<URL?> { get }
|
||||||
|
|
||||||
var enableOnlySignedDeviceIsolationMode: Bool { get }
|
var enableOnlySignedDeviceIsolationMode: Bool { get }
|
||||||
var threadsEnabled: Bool { get }
|
var threadsEnabled: Bool { get }
|
||||||
@@ -266,6 +267,12 @@ final nonisolated class AppSettings: @unchecked Sendable {
|
|||||||
/// The name allocated by the bug report server
|
/// The name allocated by the bug report server
|
||||||
private(set) var bugReportApplicationID = "element-x-ios"
|
private(set) var bugReportApplicationID = "element-x-ios"
|
||||||
|
|
||||||
|
// MARK: - Content scanner
|
||||||
|
|
||||||
|
/// The base URL of the content scanner server used to scan media before it is downloaded.
|
||||||
|
/// `nil` when content scanning is disabled.
|
||||||
|
let contentScannerURL: RemotePreference<URL?> = .init(nil)
|
||||||
|
|
||||||
// MARK: - Analytics
|
// MARK: - Analytics
|
||||||
|
|
||||||
/// The configuration to use for analytics. Set to `nil` to disable analytics.
|
/// The configuration to use for analytics. Set to `nil` to disable analytics.
|
||||||
|
|||||||
+1
-1
Submodule Enterprise updated: bd9d5b94a2...08f2544018
Reference in New Issue
Block a user