Move ActivityPinnedMessage to AppBar (#3643)

pull/2245/head
Kelrap 3 months ago committed by GitHub
parent 4cb1e801d2
commit f0b3946d52
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -202,6 +202,11 @@ class ChatView extends StatelessWidget {
if (scrollUpBannerEventId != null) { if (scrollUpBannerEventId != null) {
appbarBottomHeight += ChatAppBarListTile.fixedHeight; appbarBottomHeight += ChatAppBarListTile.fixedHeight;
} }
// #Pangea
if (controller.room.isActiveInActivity) {
appbarBottomHeight += ChatAppBarListTile.fixedHeight;
}
// Pangea#
return Scaffold( return Scaffold(
appBar: AppBar( appBar: AppBar(
// #Pangea // #Pangea
@ -276,6 +281,9 @@ class ChatView extends StatelessWidget {
child: Text(L10n.of(context).jump), child: Text(L10n.of(context).jump),
), ),
), ),
// #Pangea
ActivityPinnedMessage(controller),
// Pangea#
], ],
), ),
), ),
@ -466,7 +474,6 @@ class ChatView extends StatelessWidget {
], ],
), ),
), ),
ActivityPinnedMessage(controller),
// Pangea# // Pangea#
], ],
), ),

Loading…
Cancel
Save