feat(apps): 重构 UI 架构为 presentation 层并新增 l10n 国际化支持

This commit is contained in:
qzl
2026-03-27 14:05:03 +08:00
parent b1f0eb8921
commit c592cc7854
178 changed files with 10748 additions and 5764 deletions
@@ -5,7 +5,7 @@ import 'dart:typed_data';
import 'package:dio/dio.dart';
import 'package:image_picker/image_picker.dart';
import 'package:social_app/core/api/i_api_client.dart';
import 'package:social_app/core/network/i_api_client.dart';
import '../models/ag_ui_event.dart';
@@ -155,8 +155,8 @@ class AgUiService {
}
bool hasEarlierHistory(DateTime fromDate) {
// 历史是否还有更多由后端 history snapshothasMore 驱动。
// 参数保留是为了兼容 ChatBloc 现有调用签名。
// Whether earlier history exists is driven by backend snapshot.hasMore.
// Keep the parameter for compatibility with the current ChatBloc signature.
final _ = fromDate;
return _hasMoreHistory;
}