marinofaggiana 5 年之前
父節點
當前提交
d7963cf362
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      iOSClient/Main/NCDetailViewController.swift

+ 0 - 1
iOSClient/Main/NCDetailViewController.swift

@@ -155,7 +155,6 @@ class NCDetailViewController: UIViewController {
     //MARK: - NotificationCenter
     //MARK: - NotificationCenter
 
 
     @objc func changeTheming() {
     @objc func changeTheming() {
-        if self.view?.window == nil { return }
         
         
         if backgroundView.image != nil {
         if backgroundView.image != nil {
             backgroundView.image = CCGraphics.changeThemingColorImage(UIImage.init(named: "logo"), multiplier: 2, color: NCBrandColor.sharedInstance.brand.withAlphaComponent(0.4))
             backgroundView.image = CCGraphics.changeThemingColorImage(UIImage.init(named: "logo"), multiplier: 2, color: NCBrandColor.sharedInstance.brand.withAlphaComponent(0.4))