|
|
@@ -15,7 +15,7 @@ import 'package:lottie/lottie.dart';
|
|
|
import 'package:pull_to_refresh/pull_to_refresh.dart';
|
|
|
|
|
|
import '../../data/bean/progressing_chat_item.dart';
|
|
|
-import '../../data/bean/talk_info.dart';
|
|
|
+import '../../data/bean/talks.dart';
|
|
|
import '../../resource/assets.gen.dart';
|
|
|
import '../../router/app_pages.dart';
|
|
|
|
|
|
@@ -26,7 +26,7 @@ class ChatPage extends BasePage<ChatController> {
|
|
|
Get.toNamed(RoutePath.chat);
|
|
|
}
|
|
|
|
|
|
- static startByTalk(TalkInfo talkInfo, {Agenda? agenda}) {
|
|
|
+ static startByTalk(TalkBean talkInfo, {Agenda? agenda}) {
|
|
|
Get.toNamed(RoutePath.chat, arguments: [talkInfo, agenda]);
|
|
|
}
|
|
|
|
|
|
@@ -157,7 +157,7 @@ class ChatPage extends BasePage<ChatController> {
|
|
|
child: Column(
|
|
|
children: [
|
|
|
Obx(() {
|
|
|
- TalkInfo? talkInfo = controller.talkInfo.value;
|
|
|
+ TalkBean? talkInfo = controller.talkInfo.value;
|
|
|
if (talkInfo == null) {
|
|
|
return Container();
|
|
|
} else {
|
|
|
@@ -404,7 +404,7 @@ class ChatPage extends BasePage<ChatController> {
|
|
|
);
|
|
|
}
|
|
|
|
|
|
- _buildReferenceFile(TalkInfo talkInfo) {
|
|
|
+ _buildReferenceFile(TalkBean talkInfo) {
|
|
|
if (talkInfo.oversizeFile == true) {
|
|
|
return _buildOverSizeReference(talkInfo);
|
|
|
} else {
|
|
|
@@ -412,7 +412,7 @@ class ChatPage extends BasePage<ChatController> {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- Container _buildOverSizeReference(TalkInfo talkInfo) {
|
|
|
+ Container _buildOverSizeReference(TalkBean talkInfo) {
|
|
|
return Container(
|
|
|
margin: EdgeInsets.only(bottom: 14.h),
|
|
|
padding: EdgeInsets.only(left: 8.w, top: 8.h, right: 10.w, bottom: 8.h),
|
|
|
@@ -461,7 +461,7 @@ class ChatPage extends BasePage<ChatController> {
|
|
|
);
|
|
|
}
|
|
|
|
|
|
- _buildNormalReference(TalkInfo talkInfo) {
|
|
|
+ _buildNormalReference(TalkBean talkInfo) {
|
|
|
return Container(
|
|
|
margin: EdgeInsets.only(bottom: 14.h),
|
|
|
child: Row(
|