fix(album): rename AI retouch action label
This commit is contained in:
@@ -197,7 +197,7 @@ protocol TravelAlbumPreviewActionHandling: AnyObject {
|
||||
/// 新接口接入前的占位操作实现,不修改任何业务数据。
|
||||
final class PlaceholderTravelAlbumPreviewActionHandler: TravelAlbumPreviewActionHandling {
|
||||
func requestAIRetouch(originalMaterialId: Int) async -> TravelAlbumPreviewActionResult {
|
||||
.unavailable("AI修复功能待接口接入")
|
||||
.unavailable("AI修图功能待接口接入")
|
||||
}
|
||||
|
||||
func deleteProject(originalMaterialId: Int) async -> TravelAlbumPreviewActionResult {
|
||||
|
||||
@@ -14,7 +14,7 @@ final class TravelAlbumPreviewActionHandler: TravelAlbumPreviewActionHandling {
|
||||
self.api = api
|
||||
}
|
||||
|
||||
/// AI 修复仍由相册选择态的模板流程发起。
|
||||
/// AI 修图仍由相册选择态的模板流程发起。
|
||||
func requestAIRetouch(originalMaterialId: Int) async -> TravelAlbumPreviewActionResult {
|
||||
.unavailable("请在相册中选择照片后使用AI修图")
|
||||
}
|
||||
|
||||
@@ -193,7 +193,7 @@ final class TravelAlbumPhotoPreviewViewController: UIViewController {
|
||||
}
|
||||
|
||||
private func configureActions() {
|
||||
let aiButton = makeActionButton(title: "AI修复", systemName: "wand.and.stars", color: UIColor(hex: 0x60A5FA))
|
||||
let aiButton = makeActionButton(title: "AI修图", systemName: "wand.and.stars", color: UIColor(hex: 0x60A5FA))
|
||||
let deleteConfiguration = makeActionButton(
|
||||
title: "删除",
|
||||
systemName: "trash",
|
||||
|
||||
@@ -169,7 +169,7 @@ final class TravelAlbumModelsTests: XCTestCase {
|
||||
|
||||
XCTAssertEqual(
|
||||
aiResult,
|
||||
.unavailable("AI修复功能待接口接入")
|
||||
.unavailable("AI修图功能待接口接入")
|
||||
)
|
||||
XCTAssertEqual(
|
||||
deleteResult,
|
||||
|
||||
Reference in New Issue
Block a user