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

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
@@ -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 {