소스 검색

【综合】xcode版本兼容

tangchao 6 달 전
부모
커밋
03db5d283e
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      PDF Office/PDF Master/Class/Purchase/DMG/KMPurchaseEmbeddedWindowController.swift

+ 3 - 3
PDF Office/PDF Master/Class/Purchase/DMG/KMPurchaseEmbeddedWindowController.swift

@@ -978,12 +978,12 @@ class KMPurchaseEmbeddedWindowController: NSWindowController {
             guard let self = self else { return }
             if self.paymentMethod == .paypal {
                 self.paypalBox.fillColor = NSColor(named: "KMPurchaseBoxColor") ?? NSColor.blue
-            } else if _paymentMethod == .paddle {
+            } else if self._paymentMethod == .paddle {
                 self.paddleView.wantsLayer = true
                 self.paddleView.layer?.backgroundColor = NSColor(named: "KMPurchaseBoxColor")?.cgColor ?? NSColor.blue.cgColor
-            } else if _paymentMethod == .wxpay {
+            } else if self._paymentMethod == .wxpay {
                 self.weChatBox.fillColor = NSColor(named: "KMPurchaseBoxColor") ?? NSColor.blue
-            } else if _paymentMethod == .alipay {
+            } else if self._paymentMethod == .alipay {
                 self.weChatBox.fillColor = NSColor(named: "KMPurchaseBoxColor") ?? NSColor.blue
             }
         }