chore: 更新 .gitignore 文件并删除过时的文档
主要变更: 1. 在 .gitignore 中添加了 Docs/ 文件夹,以忽略文档相关文件。 2. 删除了多个过时的文档,包括构建指南、编译修复指南和当前状态报告等。 此更新旨在清理项目文件,确保版本控制的整洁性。
This commit is contained in:
@@ -113,8 +113,7 @@ import UIKit
|
||||
private static func checkAndShowSignatureColorGuide(in window: UIWindow) {
|
||||
let hasSignatureColor = EPEmotionColorStorage.hasUserSignatureColor()
|
||||
|
||||
#if DEBUG
|
||||
// Debug 环境:总是显示引导页
|
||||
// #if DEBUG
|
||||
print("[EPLoginManager] Debug 模式:显示专属颜色引导页(已有颜色: \(hasSignatureColor))")
|
||||
|
||||
let guideView = EPSignatureColorGuideView()
|
||||
@@ -135,17 +134,16 @@ import UIKit
|
||||
// 显示引导页,已有颜色时显示 Skip 按钮
|
||||
guideView.show(in: window, showSkipButton: hasSignatureColor)
|
||||
|
||||
#else
|
||||
// Release 环境:仅在未设置专属颜色时显示
|
||||
if !hasSignatureColor {
|
||||
let guideView = EPSignatureColorGuideView()
|
||||
guideView.onColorConfirmed = { (hexColor: String) in
|
||||
EPEmotionColorStorage.saveUserSignatureColor(hexColor)
|
||||
print("[EPLoginManager] 用户选择专属颜色: \(hexColor)")
|
||||
}
|
||||
guideView.show(in: window)
|
||||
}
|
||||
#endif
|
||||
// #else
|
||||
// // Release 环境:仅在未设置专属颜色时显示
|
||||
// if !hasSignatureColor {
|
||||
// let guideView = EPSignatureColorGuideView()
|
||||
// guideView.onColorConfirmed = { (hexColor: String) in
|
||||
// EPEmotionColorStorage.saveUserSignatureColor(hexColor)
|
||||
// }
|
||||
// guideView.show(in: window)
|
||||
// }
|
||||
// #endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user