Skip to content

Commit

Permalink
Merge pull request #311 from shiosyakeyakini-info/feature/fix_277
Browse files Browse the repository at this point in the history
ちょっとだけ調整
  • Loading branch information
shiosyakeyakini-info authored Sep 16, 2023
2 parents 3f974c8 + c0ce96b commit 5827ab6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
13 changes: 3 additions & 10 deletions lib/view/common/misskey_notes/custom_emoji.dart
Original file line number Diff line number Diff line change
Expand Up @@ -106,16 +106,9 @@ class CustomEmojiState extends ConsumerState<CustomEmoji> {
);
break;
case EmojiType.twemoji:
cachedImage = FittedBox(
fit: BoxFit.fitHeight,
child: TwemojiText(
text: emojiData.char,
strutStyle: StrutStyle(
height: 1.0,
forceStrutHeight: true,
fontSize: scopedFontSize),
style: style.merge(AppTheme.of(context).unicodeEmojiStyle),
),
cachedImage = Twemoji(
height: scopedFontSize,
emoji: emojiData.char,
);
break;
}
Expand Down
2 changes: 2 additions & 0 deletions lib/view/common/misskey_notes/reaction_button.dart
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ class ReactionButtonState extends ConsumerState<ReactionButton> {
backgroundColor: MaterialStatePropertyAll(backgroundColor)),
child: Row(
mainAxisSize: MainAxisSize.min,
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
ConstrainedBox(
constraints: BoxConstraints(
Expand Down

0 comments on commit 5827ab6

Please sign in to comment.