🐛 Fix serval issues in past commits

This commit is contained in:
2026-01-10 22:23:42 +08:00
parent 9957905212
commit d443343052
2 changed files with 5 additions and 11 deletions

View File

@@ -348,15 +348,9 @@ class ChatRoomScreen extends HookConsumerWidget {
switchOutCurve: Curves.easeInCubic,
transitionBuilder:
(Widget child, Animation<double> animation) {
return SlideTransition(
position: Tween<Offset>(
begin: const Offset(0, 0.05),
end: Offset.zero,
).animate(animation),
child: FadeTransition(
opacity: animation,
child: child,
),
return FadeTransition(
opacity: animation,
child: child,
);
},
child: messages.when(

View File

@@ -79,7 +79,7 @@ class AnalyticsService {
'post_id': postId,
'reaction_symbol': reactionSymbol,
'attitude': attitude,
'is_removing': isRemoving,
'is_removing': isRemoving ? 'yes' : 'no',
});
}
@@ -138,7 +138,7 @@ class AnalyticsService {
'post_id': postId,
'amount': amount,
'attitude': attitude,
'has_message': hasMessage,
'has_message': hasMessage ? 'yes' : 'no',
'currency': 'NSP',
});
}