Skip to content

Commit

Permalink
chore: Adjust emoji picker design
Browse files Browse the repository at this point in the history
  • Loading branch information
krille-chan committed Jan 26, 2025
1 parent 85bebb7 commit fac2e5b
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions lib/pages/chat/chat_emoji_picker.dart
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ class ChatEmojiPicker extends StatelessWidget {
theme.colorScheme.primary.withAlpha(128),
iconColorSelected: theme.colorScheme.primary,
indicatorColor: theme.colorScheme.primary,
backgroundColor: theme.colorScheme.surface,
),
skinToneConfig: SkinToneConfig(
dialogBackgroundColor: Color.lerp(
Expand Down Expand Up @@ -96,9 +97,14 @@ class NoRecent extends StatelessWidget {

@override
Widget build(BuildContext context) {
return Text(
L10n.of(context).emoteKeyboardNoRecents,
style: Theme.of(context).textTheme.bodyLarge,
return Center(
child: Padding(
padding: const EdgeInsets.all(16.0),
child: Text(
L10n.of(context).emoteKeyboardNoRecents,
style: Theme.of(context).textTheme.bodyLarge,
),
),
);
}
}

0 comments on commit fac2e5b

Please sign in to comment.