chore: 更新主题、反馈页面和测试用例

- 更新 App 主题配置
- 优化反馈页面
- 更新认证和通知测试用例
This commit is contained in:
ZL-Q
2026-04-28 17:23:03 +08:00
parent 85023a668b
commit dd48d1d59d
4 changed files with 20 additions and 9 deletions
@@ -17,6 +17,7 @@ class _FakeNotificationRepository implements NotificationRepository {
Future<NotificationListResult> listNotifications({
int limit = 20,
String? cursor,
String locale = 'zh',
}) async {
return NotificationListResult(
items: items,
@@ -29,7 +30,10 @@ class _FakeNotificationRepository implements NotificationRepository {
Future<int> getUnreadCount() async => unreadCount;
@override
Future<NotificationItem> markRead({required String notificationId}) async {
Future<NotificationItem> markRead({
required String notificationId,
String locale = 'zh',
}) async {
if (failMarkRead) {
throw Exception('Mark read failed');
}