[Reaction Bubble] Fix tail alignment

Signed-off-by: Sahil Kumar <[email protected]>
This commit is contained in:
Sahil Kumar
2021-01-08 12:02:17 +05:30
parent 262721e1a6
commit cb69dd036a
+5 -10
View File
@@ -134,16 +134,11 @@ class ReactionBubble extends StatelessWidget {
borderColor, borderColor,
), ),
); );
return Transform(
if (!flipTail) { transform: Matrix4.rotationY(flipTail ? 0 : pi),
return tail; alignment: Alignment.center,
} else { child: tail,
return Transform( );
transform: Matrix4.rotationY(pi),
alignment: Alignment.center,
child: tail,
);
}
} }
} }