b02daf1448
- 文件管理器分页加载、排序偏好、桌面表头排序、移动端排序菜单、Ctrl/Cmd+F搜索、Esc 关闭搜索、鼠标右滑返回上级。 - 移动端同步状态页、同步统计卡片、同步任务/累计统计事件、同步页布局更新。 - Android 相册同步默认路径改为 DCIM/Camera,下载路径改用 external_path。 - Rust sync-core 更新:Android 日志依赖、AlbumUpload/AlbumDownload、MirrorWcf 统计修复、Linux FUSE镜像挂载与读写同步支持。 - 依赖更新:external_path、fl_chart、pdfrx 升级,并修了 pdfrx 新版本的deprecated API。 - 新增文件包括:sort_options.dart、sync_page_android.dart、sync_stats_card.dart、platform/fuse.rs、sync_engine/fuse.rs。
51 lines
1.6 KiB
Dart
51 lines
1.6 KiB
Dart
/// 存储键常量
|
|
class StorageKeys {
|
|
// 设置相关
|
|
static const String themeMode = 'theme_mode';
|
|
static const String customBaseUrl = 'custom_base_url';
|
|
static const String servers = 'flutter_servers';
|
|
static const String lastSelectedServer = 'last_selected_server_label';
|
|
|
|
// 上传相关
|
|
static const String uploadQueue = 'upload_queue';
|
|
static const String uploadTasks = 'upload_tasks';
|
|
|
|
// 下载相关
|
|
static const String downloadTasks = 'download_tasks';
|
|
static const String downloadWifiOnly = 'download_wifi_only';
|
|
static const String downloadRetries = 'download_retries';
|
|
|
|
// 任务记录
|
|
static const String taskRetentionDays = 'task_retention_days';
|
|
|
|
// 缓存相关
|
|
static const String cacheSettings = 'cache_settings';
|
|
|
|
// Gravatar 镜像
|
|
static const String gravatarMirrorEnabled = 'gravatar_mirror_enabled';
|
|
static const String gravatarMirrorUrl = 'gravatar_mirror_url';
|
|
|
|
// 搜索历史
|
|
static const String searchHistory = 'search_history';
|
|
|
|
// 同步相关
|
|
static const String syncConfig = 'sync_config';
|
|
static const String syncState = 'sync_state';
|
|
static const String syncCumStats = 'sync_cum_stats';
|
|
static const String clientId = 'client_id';
|
|
|
|
// 文件排序
|
|
static const String fileSortOption = 'file_sort_option';
|
|
|
|
// 日志级别
|
|
static const String logLevel = 'app_log_level';
|
|
|
|
// 公告
|
|
static const String siteAnnouncementDismissedFingerprint =
|
|
'site_announcement_dismissed_fingerprint';
|
|
|
|
// 版本更新
|
|
static const String updatePromptSkipUntil = 'update_prompt_skip_until';
|
|
static const String updatePromptSkipVersion = 'update_prompt_skip_version';
|
|
}
|