mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 14:48:41 +00:00
fix reaction error
This commit is contained in:
parent
8632837bdf
commit
24e8f1ca36
1 changed files with 3 additions and 3 deletions
|
|
@ -734,15 +734,15 @@ class _ReactionButtonsState extends State<ReactionButtons> {
|
||||||
? 50
|
? 50
|
||||||
: widget.mediaViewerDistanceFromBottom)
|
: widget.mediaViewerDistanceFromBottom)
|
||||||
: widget.mediaViewerDistanceFromBottom - 20,
|
: widget.mediaViewerDistanceFromBottom - 20,
|
||||||
left: widget.show ? 0 : 150,
|
left: widget.show ? 0 : MediaQuery.sizeOf(context).width / 2,
|
||||||
right: widget.show ? 0 : 150,
|
right: widget.show ? 0 : MediaQuery.sizeOf(context).width / 2,
|
||||||
curve: Curves.linearToEaseOut,
|
curve: Curves.linearToEaseOut,
|
||||||
child: AnimatedOpacity(
|
child: AnimatedOpacity(
|
||||||
opacity: widget.show ? 1.0 : 0.0, // Fade in/out
|
opacity: widget.show ? 1.0 : 0.0, // Fade in/out
|
||||||
duration: Duration(milliseconds: 150),
|
duration: Duration(milliseconds: 150),
|
||||||
child: Container(
|
child: Container(
|
||||||
color: widget.show ? Colors.black.withAlpha(0) : Colors.transparent,
|
color: widget.show ? Colors.black.withAlpha(0) : Colors.transparent,
|
||||||
padding: EdgeInsets.symmetric(vertical: 32),
|
padding: widget.show ? EdgeInsets.symmetric(vertical: 32) : null,
|
||||||
child: Column(
|
child: Column(
|
||||||
children: [
|
children: [
|
||||||
if (secondRowEmojis.isNotEmpty)
|
if (secondRowEmojis.isNotEmpty)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue