Commit c5b1d28
Fastace
fix(s3): 修复文件删除功能并统一协议选择 UI 风格
- 修复 S3 文件删除问题,移除 exists 检查,直接调用 deleteRecursively
- 为数据库操作添加 try-catch 包裹,防止崩溃
- 添加详细的删除过程日志追踪
- 将协议下拉菜单替换为分段按钮行,与 FTP 认证模式 UI 保持一致
- 使用 SingleChoiceSegmentedButtonRow 实现 HTTP/HTTPS 选择
- 提升云存储提供商之间的 UI 一致性
此变更:
1. 修复了 S3 文件备份确认删除后不会被删除的问题
2. 使 S3 协议选择 UI 与 FTP 认证模式设计保持一致
3. 提供更好的视觉一致性和用户体验
---
fix(s3): Fix file deletion and unify protocol selection UI
- Fix S3 file deletion by removing exists check and calling deleteRecursively directly
- Add try-catch wrapper for database operations to prevent crashes
- Add detailed logging for deletion process tracking
- Replace protocol dropdown menu with segmented button row to match FTP auth mode UI
- Use SingleChoiceSegmentedButtonRow for HTTP/HTTPS selection
- Improve UI consistency across cloud storage providers
This change:
1. Fixes the issue where S3 file backups were not deleted after confirmation
2. Aligns S3 protocol selection UI with FTP authentication mode design
3. Provides better visual consistency and user experience0 file changed
0 commit comments