Skip to content

Commit

Permalink
fix: emote sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmo314 committed Apr 29, 2024
1 parent b8ada76 commit 895cf3f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 5 additions & 2 deletions lib/components/emote_picker.dart
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,11 @@ class EmotesList extends StatelessWidget {
onPressed: () => onEmoteSelected(emote),
splashRadius: 24,
icon: CrossFadeImage(
placeholder: emote.image.placeholderImage,
image: emote.image)));
placeholder: emote.image.placeholderImage,
image: emote.image,
width: 36,
height: 36,
)));
}).toList(),
)),
);
Expand Down
3 changes: 2 additions & 1 deletion lib/components/message_input.dart
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ class _MessageInputWidgetState extends State<MessageInputWidget> {

// Handles any shared data we may receive.
void _handleSharedData(String sharedData) {
debugPrint('Shared data received: $sharedData');
setState(() {
_textEditingController.text = sharedData;
});
Expand Down Expand Up @@ -206,6 +205,8 @@ class _MessageInputWidgetState extends State<MessageInputWidget> {
: ColorFiltered(
colorFilter: _greyscale,
child: Image(
width: 24,
height: 24,
image: ResilientNetworkImage(
Uri.parse(_emotes[_emoteIndex])),
))),
Expand Down

0 comments on commit 895cf3f

Please sign in to comment.