Skip to content

Commit

Permalink
hotfix: Chat room cannot load more
Browse files Browse the repository at this point in the history
  • Loading branch information
drminh2807 authored and hoangdat committed Nov 2, 2023
1 parent 157884e commit 695e8a3
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions lib/pages/chat_adaptive_scaffold/chat_adaptive_scaffold.dart
Original file line number Diff line number Diff line change
Expand Up @@ -67,19 +67,15 @@ class ChatAdaptiveScaffoldController extends State<ChatAdaptiveScaffold> {
end: breakpoint,
): SlotLayout.from(
key: AppAdaptiveScaffold.breakpointMobileKey,
builder: (_) => Navigator(
pages: [
MaterialPage(
child: body!,
),
builder: (_) => Stack(
children: [
body!,
if (showRightPanel)
MaterialPage(
child: ChatSearch(
roomId: widget.roomId,
onBack: toggleRightPanel,
jumpToEventId: jumpToEventId,
isInStack: true,
),
ChatSearch(
roomId: widget.roomId,
onBack: toggleRightPanel,
jumpToEventId: jumpToEventId,
isInStack: true,
),
],
),
Expand Down

0 comments on commit 695e8a3

Please sign in to comment.