Skip to content

Commit

Permalink
replace left fontWeight usage
Browse files Browse the repository at this point in the history
  • Loading branch information
boxdot committed Jan 31, 2025
1 parent 597cc8a commit 1165410
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 13 deletions.
1 change: 0 additions & 1 deletion app/lib/conversation_list/conversation_list_content.dart
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ class _NoConversations extends StatelessWidget {
'Create a new connection to get started',
style: TextStyle(
fontSize: isLargeScreen(context) ? 14 : 15,
fontWeight: FontWeight.normal,
color: Colors.black54,
),
),
Expand Down
10 changes: 4 additions & 6 deletions app/lib/conversation_list/create_conversation_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,10 @@ class _CreateConversationViewState extends State<CreateConversationView> {
return AlertDialog(
title: Text(widget.title),
titlePadding: const EdgeInsets.all(20),
titleTextStyle: const TextStyle(
fontFamily: fontFamily,
fontWeight: FontWeight.bold,
fontSize: 20,
color: colorGreyDark,
),
titleTextStyle: Theme.of(context)
.textTheme
.titleLarge
?.copyWith(color: colorGreyDark),
actionsAlignment: MainAxisAlignment.spaceBetween,
actionsPadding: const EdgeInsets.all(20),
buttonPadding: const EdgeInsets.symmetric(horizontal: 20, vertical: 20),
Expand Down
3 changes: 2 additions & 1 deletion app/lib/developer/change_user_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ class _ClientRecordsList extends StatelessWidget {
titleTextStyle: Theme.of(context)
.textTheme
.bodyMedium
?.copyWith(color: textColor, fontWeight: FontWeight.w600),
?.copyWith(color: textColor)
.merge(VariableFontWeight.semiBold),
subtitleTextStyle: Theme.of(context)
.textTheme
.bodySmall
Expand Down
2 changes: 1 addition & 1 deletion app/lib/developer/developer_settings_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ class _SectionHeader extends StatelessWidget {
style: Theme.of(context)
.textTheme
.labelMedium
?.copyWith(fontWeight: FontWeight.bold),
?.merge(VariableFontWeight.bold),
),
);
}
Expand Down
4 changes: 2 additions & 2 deletions app/test/developer/goldens/change_user_screen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions app/test/developer/goldens/developer_settings_screen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1165410

Please sign in to comment.