Merge pull request #3547 from Mr-Update/patch-4

Update chat_page.dart
This commit is contained in:
RustDesk 2023-03-07 21:54:20 +08:00 committed by GitHub
commit cd926dfd50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,7 +73,7 @@ class ChatPage extends StatelessWidget implements PageShape {
? InputDecoration( ? InputDecoration(
isDense: true, isDense: true,
hintText: hintText:
"${translate('Write a message')}...", "${translate('Write a message')}",
filled: true, filled: true,
fillColor: fillColor:
Theme.of(context).colorScheme.background, Theme.of(context).colorScheme.background,
@ -88,7 +88,7 @@ class ChatPage extends StatelessWidget implements PageShape {
) )
: defaultInputDecoration( : defaultInputDecoration(
hintText: hintText:
"${translate('Write a message')}...", "${translate('Write a message')}",
fillColor: fillColor:
Theme.of(context).colorScheme.background), Theme.of(context).colorScheme.background),
sendButtonBuilder: defaultSendButton( sendButtonBuilder: defaultSendButton(