Skip to content

Commit a2e146d

Browse files
Merge pull request #1 from MirrorFly/bugfix/FRH-client
#Chat closed widget removed
2 parents 31941e0 + abc9e5e commit a2e146d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

lib/app/model/arguments.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class ChatViewArguments {
2222
this.disableAppBar = false,
2323
this.chatInfoPageRedirect = false,
2424
this.enableSwipeToReply = true,
25-
this.menuActionsEnabled = false, this.chatClosedWidget});
25+
this.menuActionsEnabled = false});
2626

2727
final String chatJid;
2828
final String topicId;
@@ -36,7 +36,6 @@ class ChatViewArguments {
3636
final bool enableSwipeToReply;
3737
final bool menuActionsEnabled;
3838
final bool chatInfoPageRedirect;
39-
final Widget? chatClosedWidget;
4039
}
4140

4241
class ChatSearchViewArguments {

lib/app/modules/chat/views/chat_view.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ class ChatView extends NavViewStateful<ChatController> {
227227
.messageTypingAreaStyle.bgColor, //Colors.white,
228228
child: controller.isBlocked.value
229229
? userBlocked(context)
230-
: controller.isChatClosed.value ? controller.arguments?.chatClosedWidget ?? chatClosed(context)
230+
: controller.isChatClosed.value ? chatClosed(context)
231231
: controller.isMemberOfGroup
232232
? Column(
233233
mainAxisAlignment: MainAxisAlignment.end,

0 commit comments

Comments
 (0)