From 1db61be860da9b36882adb8effa76d9d61b6258f Mon Sep 17 00:00:00 2001 From: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com> Date: Wed, 22 Mar 2023 15:59:48 +0000 Subject: [PATCH] ios: remove unused type --- apps/ios/Shared/Views/UserSettings/PrivacySettings.swift | 1 - apps/ios/SimpleXChat/APITypes.swift | 8 -------- 2 files changed, 9 deletions(-) diff --git a/apps/ios/Shared/Views/UserSettings/PrivacySettings.swift b/apps/ios/Shared/Views/UserSettings/PrivacySettings.swift index c934d36d62..5b9cd49526 100644 --- a/apps/ios/Shared/Views/UserSettings/PrivacySettings.swift +++ b/apps/ios/Shared/Views/UserSettings/PrivacySettings.swift @@ -10,7 +10,6 @@ import SwiftUI import SimpleXChat struct PrivacySettings: View { - @EnvironmentObject var m: ChatModel @AppStorage(DEFAULT_PRIVACY_ACCEPT_IMAGES) private var autoAcceptImages = true @AppStorage(DEFAULT_PRIVACY_LINK_PREVIEWS) private var useLinkPreviews = true @AppStorage(DEFAULT_DEVELOPER_TOOLS) private var developerTools = false diff --git a/apps/ios/SimpleXChat/APITypes.swift b/apps/ios/SimpleXChat/APITypes.swift index b7eb677369..ededd5b26b 100644 --- a/apps/ios/SimpleXChat/APITypes.swift +++ b/apps/ios/SimpleXChat/APITypes.swift @@ -692,14 +692,6 @@ public enum ChatResponse: Decodable, Error { } } -public struct UserPrivacyCfg: Encodable { - var currViewPwd: String - var showNtfs: Bool - var forceIncognito: Bool - var viewPwd: String - var wipePwd: String -} - public enum ChatPagination { case last(count: Int) case after(chatItemId: Int64, count: Int)