🐛 Fix serval issues in past commits
This commit is contained in:
@@ -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(
|
||||
|
||||
@@ -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',
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user