Move ActivityPinnedMessage to AppBar (#3643)
This commit is contained in:
parent
4cb1e801d2
commit
f0b3946d52
1 changed files with 8 additions and 1 deletions
|
|
@ -202,6 +202,11 @@ class ChatView extends StatelessWidget {
|
|||
if (scrollUpBannerEventId != null) {
|
||||
appbarBottomHeight += ChatAppBarListTile.fixedHeight;
|
||||
}
|
||||
// #Pangea
|
||||
if (controller.room.isActiveInActivity) {
|
||||
appbarBottomHeight += ChatAppBarListTile.fixedHeight;
|
||||
}
|
||||
// Pangea#
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
// #Pangea
|
||||
|
|
@ -276,6 +281,9 @@ class ChatView extends StatelessWidget {
|
|||
child: Text(L10n.of(context).jump),
|
||||
),
|
||||
),
|
||||
// #Pangea
|
||||
ActivityPinnedMessage(controller),
|
||||
// Pangea#
|
||||
],
|
||||
),
|
||||
),
|
||||
|
|
@ -466,7 +474,6 @@ class ChatView extends StatelessWidget {
|
|||
],
|
||||
),
|
||||
),
|
||||
ActivityPinnedMessage(controller),
|
||||
// Pangea#
|
||||
],
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue