temp hintText
This commit is contained in:
parent
77b81948b0
commit
9d2fb315d1
1 changed files with 5 additions and 4 deletions
|
|
@ -112,7 +112,7 @@ class ChatBox extends HookConsumerWidget {
|
||||||
PopupMenuItem(
|
PopupMenuItem(
|
||||||
child: ListTile(
|
child: ListTile(
|
||||||
title: Text("Files"),
|
title: Text("Files"),
|
||||||
leading: Icon(Icons.add_photo_alternate),
|
leading: Icon(Icons.attachment),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
@ -142,9 +142,10 @@ class ChatBox extends HookConsumerWidget {
|
||||||
maxLines: 12,
|
maxLines: 12,
|
||||||
minLines: 1,
|
minLines: 1,
|
||||||
decoration: InputDecoration(
|
decoration: InputDecoration(
|
||||||
// hintText: room.canSendDefaultMessages
|
hintText:
|
||||||
// ? "Your message here..."
|
true // TODO: room.canSendDefaultMessages
|
||||||
// : "You don't have permission to send messages in this room...",
|
? "Your message here..."
|
||||||
|
: "You don't have permission to send messages in this room...",
|
||||||
border: InputBorder.none,
|
border: InputBorder.none,
|
||||||
),
|
),
|
||||||
controller: controller.value,
|
controller: controller.value,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue