From 8accf8f63df7520112da98c669c25e2a2d099801 Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Mon, 8 Aug 2022 19:26:04 +0200 Subject: [PATCH] Disable Siesta logging in release --- Shared/YatteeApp.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Shared/YatteeApp.swift b/Shared/YatteeApp.swift index d6b21f4a..61ee98b2 100644 --- a/Shared/YatteeApp.swift +++ b/Shared/YatteeApp.swift @@ -164,7 +164,9 @@ struct YatteeApp: App { } configured = true - SiestaLog.Category.enabled = .common + #if DEBUG + SiestaLog.Category.enabled = .common + #endif SDImageCodersManager.shared.addCoder(SDImageWebPCoder.shared) SDWebImageManager.defaultImageCache = PINCache(name: "stream.yattee.app")