chore: Adjust emoji picker design

pull/1577/head
Krille 6 months ago
parent 85bebb796c
commit fac2e5bde3
No known key found for this signature in database
GPG Key ID: E067ECD60F1A0652

@ -55,6 +55,7 @@ class ChatEmojiPicker extends StatelessWidget {
theme.colorScheme.primary.withAlpha(128), theme.colorScheme.primary.withAlpha(128),
iconColorSelected: theme.colorScheme.primary, iconColorSelected: theme.colorScheme.primary,
indicatorColor: theme.colorScheme.primary, indicatorColor: theme.colorScheme.primary,
backgroundColor: theme.colorScheme.surface,
), ),
skinToneConfig: SkinToneConfig( skinToneConfig: SkinToneConfig(
dialogBackgroundColor: Color.lerp( dialogBackgroundColor: Color.lerp(
@ -96,9 +97,14 @@ class NoRecent extends StatelessWidget {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Text( return Center(
L10n.of(context).emoteKeyboardNoRecents, child: Padding(
style: Theme.of(context).textTheme.bodyLarge, padding: const EdgeInsets.all(16.0),
child: Text(
L10n.of(context).emoteKeyboardNoRecents,
style: Theme.of(context).textTheme.bodyLarge,
),
),
); );
} }
} }

Loading…
Cancel
Save