Browse Source

1.解决视频黑边问题

wenweiwei 4 years ago
parent
commit
150bd57b13

+ 2 - 2
MusicVideoPlus/MusicVideoPlus/Classes/Modules/Setting/Controllers/MVSettingController.swift

@@ -34,9 +34,9 @@ class MVSettingController: MVBaseController{
         protocolLab.font = UIFont.systemFont(ofSize: 14)
         protocolLab.text = ""
         protocolLab.textColor = UIColor.hexColor(hexadecimal: "#999999")
-        protocolLab.appendLink(withText: "《用户协议》", linkFont: UIFont.systemFont(ofSize: 14), linkColor: UIColor.hexColor(hexadecimal: "#6783AC"), underLineStyle: CTUnderlineStyle.single, linkData: cUserProtocol)
+        protocolLab.appendLink(withText: "《用户协议》", linkFont: UIFont.systemFont(ofSize: 14), linkColor: UIColor.hexColor(hexadecimal: "#6783AC"), underLineStyle: CTUnderlineStyle.init(), linkData: cUserProtocol)
 
-        protocolLab.appendLink(withText: "《隐私协议》", linkFont: UIFont.systemFont(ofSize: 14), linkColor: UIColor.hexColor(hexadecimal: "#6783AC"), underLineStyle: CTUnderlineStyle.single, linkData: cPrivacy)
+        protocolLab.appendLink(withText: "《隐私协议》", linkFont: UIFont.systemFont(ofSize: 14), linkColor: UIColor.hexColor(hexadecimal: "#6783AC"), underLineStyle: CTUnderlineStyle.init(), linkData: cPrivacy)
 
         protocolLab.textAlignment = CTTextAlignment.center
         return protocolLab