Remove debugging code

This commit is contained in:
Ali 2022-06-21 10:02:42 +01:00
parent cc87e9ebd6
commit 3905afc692
2 changed files with 2 additions and 4 deletions

View File

@ -21,7 +21,6 @@ swift_library(
"//submodules/Reachability:Reachability", "//submodules/Reachability:Reachability",
"//submodules/ManagedFile:ManagedFile", "//submodules/ManagedFile:ManagedFile",
"//submodules/Utils/RangeSet:RangeSet", "//submodules/Utils/RangeSet:RangeSet",
"//submodules/GZip:GZip",
], ],
visibility = [ visibility = [
"//visibility:public", "//visibility:public",

View File

@ -3,7 +3,6 @@ import Postbox
import SwiftSignalKit import SwiftSignalKit
import TelegramApi import TelegramApi
import MtProtoKit import MtProtoKit
import GZip
private final class ManagedSynchronizeInstalledStickerPacksOperationsHelper { private final class ManagedSynchronizeInstalledStickerPacksOperationsHelper {
var operationDisposables: [Int32: Disposable] = [:] var operationDisposables: [Int32: Disposable] = [:]
@ -374,7 +373,7 @@ private func synchronizeInstalledStickerPacks(transaction: Transaction, postbox:
} }
} }
#if DEBUG /*#if DEBUG
func debugFetchAllStickers(account: Account) -> Signal<Never, NoError> { func debugFetchAllStickers(account: Account) -> Signal<Never, NoError> {
let orderedItemListCollectionIds: [Int32] = [Namespaces.OrderedItemList.CloudSavedStickers] let orderedItemListCollectionIds: [Int32] = [Namespaces.OrderedItemList.CloudSavedStickers]
@ -427,7 +426,7 @@ func debugFetchAllStickers(account: Account) -> Signal<Never, NoError> {
} }
} }
#endif #endif*/
private func continueSynchronizeInstalledStickerPacks(transaction: Transaction, postbox: Postbox, network: Network, stateManager: AccountStateManager, namespace: SynchronizeInstalledStickerPacksOperationNamespace, operation: SynchronizeInstalledStickerPacksOperation) -> Signal<Void, NoError> { private func continueSynchronizeInstalledStickerPacks(transaction: Transaction, postbox: Postbox, network: Network, stateManager: AccountStateManager, namespace: SynchronizeInstalledStickerPacksOperationNamespace, operation: SynchronizeInstalledStickerPacksOperation) -> Signal<Void, NoError> {
let collectionNamespace: ItemCollectionId.Namespace let collectionNamespace: ItemCollectionId.Namespace