新增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

@ -15,6 +15,15 @@ final class WiredTransferSettingChipButtonTests: XCTestCase {
XCTAssertEqual(button.accessibilityLabel, "AI修图")
}
@MainActor
func testAppliedValueKeepsPrimaryTextColorWhenInteractionIsDisabled() {
let button = WiredTransferSettingChipButton()
button.apply(title: "JPG")
button.isUserInteractionEnabled = false
XCTAssertEqual(button.displayedTitleColor, AppColor.textPrimary)
}
@MainActor
func testShowsChevronDefaultsToFalse() {
let button = WiredTransferSettingChipButton()