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))