Skip to content

Commit

Permalink
Merge pull request #131 from mylxsw/v2.x
Browse files Browse the repository at this point in the history
V2.x
  • Loading branch information
mylxsw authored Feb 11, 2025
2 parents 2fddb9a + e2e1193 commit ab62609
Show file tree
Hide file tree
Showing 69 changed files with 2,925 additions and 2,560 deletions.
6 changes: 0 additions & 6 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,6 @@ PODS:
- Flutter
- media_kit_video (0.0.1):
- Flutter
- motion (0.0.1):
- Flutter
- package_info_plus (0.4.5):
- Flutter
- path_provider_foundation (0.0.1):
Expand Down Expand Up @@ -176,7 +174,6 @@ DEPENDENCIES:
- media_kit_libs_ios_video (from `.symlinks/plugins/media_kit_libs_ios_video/ios`)
- media_kit_native_event_loop (from `.symlinks/plugins/media_kit_native_event_loop/ios`)
- media_kit_video (from `.symlinks/plugins/media_kit_video/ios`)
- motion (from `.symlinks/plugins/motion/ios`)
- package_info_plus (from `.symlinks/plugins/package_info_plus/ios`)
- path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`)
- record_darwin (from `.symlinks/plugins/record_darwin/ios`)
Expand Down Expand Up @@ -244,8 +241,6 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/media_kit_native_event_loop/ios"
media_kit_video:
:path: ".symlinks/plugins/media_kit_video/ios"
motion:
:path: ".symlinks/plugins/motion/ios"
package_info_plus:
:path: ".symlinks/plugins/package_info_plus/ios"
path_provider_foundation:
Expand Down Expand Up @@ -295,7 +290,6 @@ SPEC CHECKSUMS:
media_kit_libs_ios_video: a5fe24bc7875ccd6378a0978c13185e1344651c1
media_kit_native_event_loop: e6b2ab20cf0746eb1c33be961fcf79667304fa2a
media_kit_video: 5da63f157170e5bf303bf85453b7ef6971218a2e
motion: 7f0d608a472de69d1210c1d871600cde66ae4d54
package_info_plus: 58f0028419748fad15bf008b270aaa8e54380b1c
path_provider_foundation: 2b6b4c569c0fb62ec74538f866245ac84301af46
record_darwin: df0a677188e5fed18472550298e675f19ddaffbe
Expand Down
1 change: 0 additions & 1 deletion lib/bloc/chat_chat_bloc.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ class ChatChatBloc extends Bloc<ChatChatEvent, ChatChatState> {
// 加载最近的历史记录
on<ChatChatLoadRecentHistories>((event, emit) async {
final histories = await _chatMessageRepository.recentChatHistories(
chatAnywhereRoomId,
event.count,
userId: APIServer().localUserID(),
);
Expand Down
2 changes: 1 addition & 1 deletion lib/bloc/chat_chat_event.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ abstract class ChatChatEvent {}

class ChatChatLoadRecentHistories extends ChatChatEvent {
final int count;
ChatChatLoadRecentHistories({this.count = 4});
ChatChatLoadRecentHistories({this.count = defaultChatHistoryCount});
}

class ChatChatNewChat extends ChatChatEvent {
Expand Down
Loading

0 comments on commit ab62609

Please sign in to comment.