diff --git a/MVMCore/MVMCore/OtherHandlers/MVMCoreCache+Extension.swift b/MVMCore/MVMCore/OtherHandlers/MVMCoreCache+Extension.swift index 65ce4cb..17c58d3 100644 --- a/MVMCore/MVMCore/OtherHandlers/MVMCoreCache+Extension.swift +++ b/MVMCore/MVMCore/OtherHandlers/MVMCoreCache+Extension.swift @@ -161,12 +161,5 @@ extension PersistentCacheManager { } -@objc public extension MVMCoreGetterUtility { - - @objc static func clearAppLevelFiles() { - - PersistentCacheManager.shared.clearPersistentAppLevelCache() - } - -} + diff --git a/MVMCore/MVMCore/Utility/Helpers/MVMCoreGetterUtility+Extension.swift b/MVMCore/MVMCore/Utility/Helpers/MVMCoreGetterUtility+Extension.swift index 42b3ce5..40c72f5 100644 --- a/MVMCore/MVMCore/Utility/Helpers/MVMCoreGetterUtility+Extension.swift +++ b/MVMCore/MVMCore/Utility/Helpers/MVMCoreGetterUtility+Extension.swift @@ -31,4 +31,10 @@ public extension MVMCoreGetterUtility { @objc class func getKeyWindow() -> UIWindow? { UIApplication.shared.connectedScenes.flatMap { ($0 as? UIWindowScene)?.windows ?? [] }.first { $0.isKeyWindow } } + + @objc static func clearAppLevelFiles() { + + PersistentCacheManager.shared.clearPersistentAppLevelCache() + + } }