🐛 Fix serval issues in past commits
This commit is contained in:
@@ -348,15 +348,9 @@ class ChatRoomScreen extends HookConsumerWidget {
|
|||||||
switchOutCurve: Curves.easeInCubic,
|
switchOutCurve: Curves.easeInCubic,
|
||||||
transitionBuilder:
|
transitionBuilder:
|
||||||
(Widget child, Animation<double> animation) {
|
(Widget child, Animation<double> animation) {
|
||||||
return SlideTransition(
|
return FadeTransition(
|
||||||
position: Tween<Offset>(
|
opacity: animation,
|
||||||
begin: const Offset(0, 0.05),
|
child: child,
|
||||||
end: Offset.zero,
|
|
||||||
).animate(animation),
|
|
||||||
child: FadeTransition(
|
|
||||||
opacity: animation,
|
|
||||||
child: child,
|
|
||||||
),
|
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
child: messages.when(
|
child: messages.when(
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ class AnalyticsService {
|
|||||||
'post_id': postId,
|
'post_id': postId,
|
||||||
'reaction_symbol': reactionSymbol,
|
'reaction_symbol': reactionSymbol,
|
||||||
'attitude': attitude,
|
'attitude': attitude,
|
||||||
'is_removing': isRemoving,
|
'is_removing': isRemoving ? 'yes' : 'no',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -138,7 +138,7 @@ class AnalyticsService {
|
|||||||
'post_id': postId,
|
'post_id': postId,
|
||||||
'amount': amount,
|
'amount': amount,
|
||||||
'attitude': attitude,
|
'attitude': attitude,
|
||||||
'has_message': hasMessage,
|
'has_message': hasMessage ? 'yes' : 'no',
|
||||||
'currency': 'NSP',
|
'currency': 'NSP',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user