Skip to content

Commit

Permalink
more const after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
boxdot committed Feb 7, 2025
1 parent a2984ef commit 6baf664
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions app/lib/conversation_list/conversation_list_header.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class ConversationListHeader extends StatelessWidget {
@override
Widget build(BuildContext context) {
final topPadding = MediaQuery.of(context).padding.top;
final height = kToolbarHeight;
const height = kToolbarHeight;

return Stack(
children: [
Expand All @@ -34,13 +34,13 @@ class ConversationListHeader extends StatelessWidget {
Container(
height: topPadding + height,
padding: EdgeInsets.only(top: topPadding),
child: Row(
child: const Row(
crossAxisAlignment: CrossAxisAlignment.center,
children: [
_Avatar(),
const Spacer(),
Spacer(),
_UsernameSpace(),
const Spacer(),
Spacer(),
_SettingsButton(),
],
),
Expand Down
2 changes: 1 addition & 1 deletion app/lib/conversation_list/conversation_list_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class ConversationListView extends StatelessWidget {
),
),
),
child: Scaffold(
child: const Scaffold(
backgroundColor: convPaneBackgroundColor,
body: Stack(
children: [
Expand Down

0 comments on commit 6baf664

Please sign in to comment.