2025-08-21 10:50:38 +08:00
|
|
|
import 'package:get/get.dart';
|
|
|
|
import 'package:loopin/IM/controller/chat_detail_controller.dart';
|
|
|
|
import 'package:tencent_cloud_chat_sdk/models/v2_tim_conversation.dart';
|
|
|
|
|
|
|
|
class ChatBinding extends Bindings {
|
|
|
|
@override
|
|
|
|
void dependencies() {
|
|
|
|
V2TimConversation conversation = Get.arguments;
|
2025-09-09 10:57:52 +08:00
|
|
|
final id = conversation.userID ?? conversation.groupID;
|
|
|
|
Get.put(ChatDetailController(id: id!));
|
2025-08-21 10:50:38 +08:00
|
|
|
}
|
|
|
|
}
|