diff --git a/lib/views/chat.dart b/lib/views/chat.dart index 970ca0bf..721f69d3 100644 --- a/lib/views/chat.dart +++ b/lib/views/chat.dart @@ -214,6 +214,9 @@ class _ChatState extends State { SizedBox(width: 8), Expanded( child: TextField( + maxLines: kIsWeb ? 1 : 8, + keyboardType: + kIsWeb ? TextInputType.text : TextInputType.multiline, onSubmitted: (t) => send(), controller: sendController, decoration: InputDecoration( diff --git a/lib/views/chat_list.dart b/lib/views/chat_list.dart index 156cd469..8d9430d0 100644 --- a/lib/views/chat_list.dart +++ b/lib/views/chat_list.dart @@ -19,8 +19,7 @@ class ChatListView extends StatelessWidget { firstScaffold: ChatList(), secondScaffold: Scaffold( body: Center( - child: Icon(Icons.chat, - size: 100, color: Theme.of(context).primaryColor), + child: Image.asset("assets/logo.png", width: 100, height: 100), ), ), ); diff --git a/pubspec.yaml b/pubspec.yaml index 4be6480c..d40e313d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -65,6 +65,7 @@ flutter: # To add assets to your application, add an assets section, like this: assets: - assets/fluffychat-banner.png + - assets/logo.png # - images/a_dot_ham.jpeg # An image asset can refer to one or more resolution-specific "variants", see