浏览代码

fix

Signed-off-by: Marino Faggiana <8616947+marinofaggiana@users.noreply.github.com>
Marino Faggiana 1 年之前
父节点
当前提交
8a47d40c87
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. 1 1
      Share/NCShareExtension+NCDelegate.swift
  2. 1 0
      Share/NCShareExtension.swift

+ 1 - 1
Share/NCShareExtension+NCDelegate.swift

@@ -82,7 +82,7 @@ extension NCShareExtension: NCEmptyDataSetDelegate, NCAccountRequestDelegate {
         // COLORS
         // COLORS
         NCBrandColor.shared.settingThemingColor(account: activeAccount.account)
         NCBrandColor.shared.settingThemingColor(account: activeAccount.account)
         NCBrandColor.shared.createUserColors()
         NCBrandColor.shared.createUserColors()
-        NCImageCache.shared.createImagesCache()
+        NCImageCache.shared.createImagesBrandCache()
 
 
         // NETWORKING
         // NETWORKING
         NextcloudKit.shared.setup(
         NextcloudKit.shared.setup(

+ 1 - 0
Share/NCShareExtension.swift

@@ -131,6 +131,7 @@ class NCShareExtension: UIViewController {
         }
         }
         NCBrandColor.shared.createUserColors()
         NCBrandColor.shared.createUserColors()
         NCImageCache.shared.createImagesCache()
         NCImageCache.shared.createImagesCache()
+        NCImageCache.shared.createImagesBrandCache()
 
 
         hud.indicatorView = JGProgressHUDRingIndicatorView()
         hud.indicatorView = JGProgressHUDRingIndicatorView()
         if let indicatorView = hud.indicatorView as? JGProgressHUDRingIndicatorView {
         if let indicatorView = hud.indicatorView as? JGProgressHUDRingIndicatorView {