소스 검색

lint

Signed-off-by: Marino Faggiana <8616947+marinofaggiana@users.noreply.github.com>
Marino Faggiana 1 년 전
부모
커밋
3de2089f3e
2개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      iOSClient/Media/NCMediaCache.swift
  2. 0 2
      iOSClient/Settings/CCAdvanced.m

+ 1 - 1
iOSClient/Media/NCMediaCache.swift

@@ -20,7 +20,7 @@ import NextcloudKit
     private typealias ThumbnailLRUCache = LRUCache<String, UIImage>
     private typealias ThumbnailLRUCache = LRUCache<String, UIImage>
     private let cache: ThumbnailLRUCache = ThumbnailLRUCache(countLimit: 2000)
     private let cache: ThumbnailLRUCache = ThumbnailLRUCache(countLimit: 2000)
 
 
-    @objc func createCache(account: String) {
+    func createCache(account: String) {
 
 
         let resultsMedia = NCManageDatabase.shared.getMediaOcIdEtag(account: account)
         let resultsMedia = NCManageDatabase.shared.getMediaOcIdEtag(account: account)
         guard !resultsMedia.isEmpty,
         guard !resultsMedia.isEmpty,

+ 0 - 2
iOSClient/Settings/CCAdvanced.m

@@ -161,8 +161,6 @@
             } else {
             } else {
                 [[[NextcloudKit shared] nkCommonInstance] writeLog:[NSString stringWithFormat:@"[INFO] Clear log with level %lu %@", (unsigned long)logLevel, versionNextcloudiOS]];
                 [[[NextcloudKit shared] nkCommonInstance] writeLog:[NSString stringWithFormat:@"[INFO] Clear log with level %lu %@", (unsigned long)logLevel, versionNextcloudiOS]];
             }
             }
-
-            [[NCMediaCache shared] createCacheWithAccount:appDelegate.account];
         };
         };
         [section addFormRow:row];
         [section addFormRow:row];