同步相册云盘界面并完善相关交互

This commit is contained in:
2026-07-10 17:15:15 +08:00
parent ab5220e460
commit ceca780ab3
13 changed files with 2269 additions and 532 deletions

View File

@ -34,11 +34,14 @@ enum CloudDriveFilterType: Int, CaseIterable, Sendable {
case image = 2
case folder = 99
/// Android
var title: String {
/// Android
static let androidMenuOrder: [CloudDriveFilterType] = [.all, .image, .video, .folder]
/// Android
var menuTitle: String {
switch self {
case .all:
"全部类型"
"全部"
case .video:
"视频"
case .image:
@ -47,6 +50,20 @@ enum CloudDriveFilterType: Int, CaseIterable, Sendable {
"文件夹"
}
}
/// Android
var displayTitle: String {
switch self {
case .all:
"全部"
case .video:
"视频"
case .image:
"文件"
case .folder:
"文件夹"
}
}
}
private struct CloudDriveCacheKey: Hashable {