Skip to content

Commit

Permalink
resolve comf
Browse files Browse the repository at this point in the history
  • Loading branch information
YuJuncen committed Aug 5, 2023
1 parent 20ab08d commit 53e5dd1
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions lib/components/chat_room.dart
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,12 @@ class ListPane extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: Platform.isIOS
? AppBar(
appBar: AppBar(
systemOverlayStyle: SystemUiOverlayStyle(
statusBarBrightness: Theme.of(context).brightness),
backgroundColor: Theme.of(context).colorScheme.background,
)
: null,
toolbarHeight: 0,
),
primary: false,
floatingActionButton: Obx(() => NewChatButton(
pctl: pctl,
Expand All @@ -125,10 +124,12 @@ class ListPane extends StatelessWidget {
TextSpan(
text: "${room.firstMessage!.userName}: ",
style: const TextStyle(
fontSize: 18,
)),
TextSpan(
text: room.firstMessage!.message,
style: const TextStyle(
fontSize: 18,
overflow: TextOverflow.ellipsis,
))
]),
Expand Down

0 comments on commit 53e5dd1

Please sign in to comment.