merge new features

This commit is contained in:
2026-05-27 19:19:11 +08:00
parent 886046a72b
commit 98af110531
37 changed files with 6405 additions and 993 deletions
@@ -7,6 +7,7 @@ enum FileMenuAction {
select,
download,
openInBrowser,
openInCloudreveApp,
rename,
move,
copy,
@@ -22,6 +23,7 @@ Future<FileMenuAction?> showFileMenu({
required bool hasSelect,
required bool hasDownload,
required bool hasOpenInBrowser,
bool hasOpenInCloudreveApp = false,
required bool hasRename,
required bool hasMove,
required bool hasCopy,
@@ -87,6 +89,17 @@ Future<FileMenuAction?> showFileMenu({
],
),
),
if (hasOpenInCloudreveApp)
const PopupMenuItem(
value: FileMenuAction.openInCloudreveApp,
child: Row(
children: [
Icon(Icons.web_asset, size: 20),
SizedBox(width: 12),
Text('在 Cloudreve 中打开'),
],
),
),
if (hasRename)
const PopupMenuItem(
value: FileMenuAction.rename,