新增ai修图

This commit is contained in:
XHYourName
2026-07-31 16:48:28 +08:00
parent 7ccbc5568d
commit 6129a1632f
42 changed files with 3696 additions and 54 deletions

View File

@ -21,6 +21,11 @@ final class WiredTransferSettingChipButton: UIButton {
///
private(set) var titleText: String = ""
///
var displayedTitleColor: UIColor? {
titleLabelView.textColor
}
/// chip
/// - Parameter showsChevron:
init(showsChevron: Bool = false) {
@ -49,13 +54,14 @@ final class WiredTransferSettingChipButton: UIButton {
layer.borderColor = AppColor.border.cgColor
titleLabelView.font = .systemFont(ofSize: 11)
titleLabelView.textColor = AppColor.textTertiary
// 使使
titleLabelView.textColor = AppColor.textPrimary
titleLabelView.lineBreakMode = .byTruncatingTail
titleLabelView.isUserInteractionEnabled = false
chevronView.image = UIImage(systemName: "chevron.down")?
.withConfiguration(UIImage.SymbolConfiguration(pointSize: 13, weight: .semibold))
chevronView.tintColor = AppColor.textTertiary
chevronView.tintColor = AppColor.textSecondary
chevronView.contentMode = .scaleAspectFit
chevronView.isUserInteractionEnabled = false