|
@@ -67,6 +67,7 @@ import Cocoa
|
|
|
titleLabel.stringValue = NSLocalizedString("Welcome Gift For New Users!", comment: "")
|
|
|
subTitleLabel.stringValue = NSLocalizedString("Hi! We’re delighted to meet you. Dive in and enjoy your PDF journey with us!", comment: "")
|
|
|
titleLabel.font = .UbuntuMediumFontWithSize(30)
|
|
|
+ titleLabel.alignment = .center
|
|
|
subTitleLabel.font = .UbuntuMediumFontWithSize(16)
|
|
|
|
|
|
contentBox.contentView?.addSubview(listBackgroundIv, positioned: .below, relativeTo: listBox)
|
|
@@ -89,7 +90,7 @@ import Cocoa
|
|
|
listBos2.contentView = giftItemView2_
|
|
|
giftItemView_.titleLabel.stringValue = String(format: NSLocalizedString("%d-day VIP Free Trial", comment: ""), 7)
|
|
|
giftItemView_.titleLabel.font = .SFProTextRegularFont(20)
|
|
|
- giftItemView_.subTitleLabel.stringValue = NSLocalizedString("Enjoy the full functions of PDF Reader Pro. Edit, convert, annotate, and combine PDFs.", comment: "")
|
|
|
+ giftItemView_.subTitleLabel.stringValue = NSLocalizedString("Enjoy the full functions of PDF Reader Pro.\nEdit, convert, annotate, and combine PDFs.", comment: "")
|
|
|
giftItemView_.subTitleLabel.font = .SFProTextRegularFont(14)
|
|
|
giftItemView2_.titleLabel.font = .SFProTextRegularFont(20)
|
|
|
|
|
@@ -208,7 +209,10 @@ import Cocoa
|
|
|
let appFirstLaunch = KMDataManager.default.appFirstLaunch
|
|
|
let appFirstLaunchForUpdate = KMDataManager.default.appFirstLaunchForUpdate
|
|
|
if appFirstLaunch == false && appFirstLaunchForUpdate == false {
|
|
|
-// return false
|
|
|
+#if DEBUG
|
|
|
+#else
|
|
|
+ return false
|
|
|
+#endif
|
|
|
}
|
|
|
|
|
|
// App 第一次启动 或 App 更新后第一次启动
|