feat(leisure): 新增闲情逸致模块与多项功能优化
本次提交完成多项核心更新: 1. 新增闲情逸致功能模块,包含时间线、收藏标注、季节主题等基础框架 2. 替换hive为社区维护的hive_ce包,修复依赖兼容问题 3. 统一替换"开发中"提示为"当前设备不支持",优化用户提示文案 4. 新增多项功能开关与特性标志,统一管理不可用功能提示 5. 完善用户账户洞察系统,新增头像审核中状态检测 6. 优化TTS语音朗读服务,修复Android端引擎初始化问题 7. 重构知识图谱缩放手势逻辑,解决缩放不跟手问题 8. 新增精灵头像组件,替换默认聊天头像样式 9. 新增外部链接跳转确认弹窗,提升使用安全性 10. 升级后端API接口,新增签到配置获取与补签积分规则动态读取 11. 完善多语言翻译覆盖率限制,非中文语言仅显示最高50%进度 12. 新增HTTP缓存拦截器,优化网络请求性能 13. 新增恢复出厂设置选项,完善数据管理功能 同时修复了多处代码细节问题:简化字符串拼接、优化布局代码、移除多余代码等。
This commit is contained in:
@@ -28,6 +28,7 @@ import 'package:xianyan/core/theme/app_typography.dart';
|
||||
import 'package:xianyan/core/utils/logger.dart';
|
||||
import 'package:xianyan/core/utils/platform/platform_helper.dart';
|
||||
import 'package:xianyan/core/services/device/haptic_service.dart';
|
||||
import 'package:xianyan/core/services/feature/feature_flag_service.dart';
|
||||
import 'package:xianyan/shared/widgets/adaptive/adaptive_back_button.dart';
|
||||
import 'package:xianyan/shared/widgets/feedback/app_toast.dart';
|
||||
import 'package:xianyan/features/file_transfer/models/models.dart';
|
||||
@@ -646,7 +647,7 @@ class _TransferChatPageState extends ConsumerState<TransferChatPage> {
|
||||
? () => _copyMessageText(msg)
|
||||
: null,
|
||||
onForward: msg.type == TransferMessageType.text
|
||||
? () => AppToast.showInfo('转发功能开发中')
|
||||
? () => AppToast.showInfo(FeatureFlag.forwardMessage.unsupportedMessage)
|
||||
: null,
|
||||
onDelete: () =>
|
||||
ref.read(transferProvider.notifier).deleteMessage(msg.id),
|
||||
|
||||
@@ -110,7 +110,6 @@ class _AirDropDiscoveryViewState extends State<AirDropDiscoveryView>
|
||||
shape: BoxShape.circle,
|
||||
border: Border.all(
|
||||
color: ext.accent.withValues(alpha: 0.08),
|
||||
width: 1,
|
||||
),
|
||||
),
|
||||
),
|
||||
@@ -121,7 +120,6 @@ class _AirDropDiscoveryViewState extends State<AirDropDiscoveryView>
|
||||
shape: BoxShape.circle,
|
||||
border: Border.all(
|
||||
color: ext.accent.withValues(alpha: 0.12),
|
||||
width: 1,
|
||||
),
|
||||
),
|
||||
),
|
||||
@@ -132,7 +130,6 @@ class _AirDropDiscoveryViewState extends State<AirDropDiscoveryView>
|
||||
shape: BoxShape.circle,
|
||||
border: Border.all(
|
||||
color: ext.accent.withValues(alpha: 0.18),
|
||||
width: 1,
|
||||
),
|
||||
),
|
||||
),
|
||||
@@ -189,7 +186,7 @@ class _AirDropDiscoveryViewState extends State<AirDropDiscoveryView>
|
||||
|
||||
final nodes = <Widget>[];
|
||||
final count = widget.devices.length;
|
||||
final radius = 85.0;
|
||||
const radius = 85.0;
|
||||
|
||||
for (int i = 0; i < count && i < 8; i++) {
|
||||
final device = widget.devices[i];
|
||||
|
||||
Reference in New Issue
Block a user