Add #pangea comments
This commit is contained in:
parent
e8a4005a12
commit
c20176d029
2 changed files with 17 additions and 18 deletions
|
|
@ -113,8 +113,6 @@ class ChatController extends State<ChatPageWithRoom>
|
|||
// #Pangea
|
||||
final PangeaController pangeaController = MatrixState.pangeaController;
|
||||
|
||||
// final GlobalKey<ChatFooterState> chatFooterKey = GlobalKey<ChatFooterState>();
|
||||
|
||||
late Choreographer choreographer = Choreographer(pangeaController, this);
|
||||
// Pangea#
|
||||
Room get room => sendingClient.getRoomById(roomId) ?? widget.room;
|
||||
|
|
|
|||
|
|
@ -301,8 +301,11 @@ class ChatView extends StatelessWidget {
|
|||
child: Column(
|
||||
children: <Widget>[
|
||||
Expanded(
|
||||
child: Stack(
|
||||
child:
|
||||
// #Pangea
|
||||
Stack(
|
||||
children: [
|
||||
// Pangea#
|
||||
GestureDetector(
|
||||
onTap: controller.clearSingleSelectedEvent,
|
||||
child: Builder(
|
||||
|
|
@ -321,6 +324,7 @@ class ChatView extends StatelessWidget {
|
|||
},
|
||||
),
|
||||
),
|
||||
// #Pangea
|
||||
Positioned(
|
||||
left: 0,
|
||||
right: 0,
|
||||
|
|
@ -346,12 +350,12 @@ class ChatView extends StatelessWidget {
|
|||
ITBar(
|
||||
choreographer: controller.choreographer,
|
||||
),
|
||||
// if (!controller.selectMode)
|
||||
ReplyDisplay(controller),
|
||||
],
|
||||
),
|
||||
),
|
||||
],
|
||||
// Pangea#
|
||||
),
|
||||
),
|
||||
if (controller.room.canSendDefaultMessages &&
|
||||
|
|
@ -436,22 +440,19 @@ class ChatView extends StatelessWidget {
|
|||
),
|
||||
],
|
||||
)
|
||||
// #Pangea
|
||||
// : Column(
|
||||
// mainAxisSize: MainAxisSize.min,
|
||||
// children: [
|
||||
// const ConnectionStatusHeader(),
|
||||
// ITBar(
|
||||
// choreographer:
|
||||
// controller.choreographer,
|
||||
// ),
|
||||
// ReactionsPicker(controller),
|
||||
// ReplyDisplay(controller),
|
||||
// ChatInputRow(controller),
|
||||
// ChatEmojiPicker(controller),
|
||||
// ],
|
||||
: Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
// #Pangea
|
||||
// const ConnectionStatusHeader(),
|
||||
// ITBar(
|
||||
// choreographer:
|
||||
// controller.choreographer,
|
||||
// ),
|
||||
// ReactionsPicker(controller),
|
||||
// ReplyDisplay(controller),
|
||||
// ChatInputRow(controller),
|
||||
// ChatEmojiPicker(controller),
|
||||
ReactionsPicker(controller),
|
||||
ChatInputRow(controller),
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue