moved clearAppLevelFiles into MVMCoreGetterUtility extension at other plave.
This commit is contained in:
parent
2b021d67a8
commit
b0631d1434
@ -161,12 +161,5 @@ extension PersistentCacheManager {
|
||||
|
||||
}
|
||||
|
||||
@objc public extension MVMCoreGetterUtility {
|
||||
|
||||
@objc static func clearAppLevelFiles() {
|
||||
|
||||
PersistentCacheManager.shared.clearPersistentAppLevelCache()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -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()
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user