moved clearAppLevelFiles into MVMCoreGetterUtility extension at other plave.

This commit is contained in:
mayur nilwant 2024-06-13 18:25:17 -04:00
parent 2b021d67a8
commit b0631d1434
2 changed files with 7 additions and 8 deletions

View File

@ -161,12 +161,5 @@ extension PersistentCacheManager {
}
@objc public extension MVMCoreGetterUtility {
@objc static func clearAppLevelFiles() {
PersistentCacheManager.shared.clearPersistentAppLevelCache()
}
}

View File

@ -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()
}
}