feat: send live emote

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-13 13:46:11 +08:00
parent 634bae915a
commit 671b6e1ef7
21 changed files with 908 additions and 526 deletions

View File

@@ -8,7 +8,7 @@ import 'controller.dart';
import 'package:PiliPlus/common/widgets/scroll_physics.dart';
class EmotePanel extends StatefulWidget {
final Function onChoose;
final ValueChanged<Emote> onChoose;
const EmotePanel({super.key, required this.onChoose});
@override
@@ -60,7 +60,7 @@ class _EmotePanelState extends State<EmotePanel>
child: InkWell(
borderRadius: BorderRadius.circular(8),
onTap: () {
widget.onChoose(e, e.emote![index]);
widget.onChoose(e.emote![index]);
},
child: Padding(
padding: const EdgeInsets.all(6),