mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-30 23:58:13 +08:00
opt sub reply
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -480,12 +480,7 @@ class ReplyItemGrpc extends StatelessWidget {
|
|||||||
padding = const EdgeInsets.fromLTRB(8, 4, 8, 4);
|
padding = const EdgeInsets.fromLTRB(8, 4, 8, 4);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return InkWell(
|
void showMore() => showModalBottomSheet(
|
||||||
onTap: () =>
|
|
||||||
replyReply?.call(replyItem, childReply.id.toInt()),
|
|
||||||
onLongPress: () {
|
|
||||||
feedBack();
|
|
||||||
showModalBottomSheet(
|
|
||||||
context: context,
|
context: context,
|
||||||
useSafeArea: true,
|
useSafeArea: true,
|
||||||
isScrollControlled: true,
|
isScrollControlled: true,
|
||||||
@@ -501,7 +496,16 @@ class ReplyItemGrpc extends StatelessWidget {
|
|||||||
);
|
);
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
},
|
return InkWell(
|
||||||
|
onTap: () =>
|
||||||
|
replyReply?.call(replyItem, childReply.id.toInt()),
|
||||||
|
onLongPress: Utils.isMobile
|
||||||
|
? () {
|
||||||
|
feedBack();
|
||||||
|
showMore();
|
||||||
|
}
|
||||||
|
: null,
|
||||||
|
onSecondaryTap: Utils.isMobile ? null : showMore,
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding: padding,
|
padding: padding,
|
||||||
child: Text.rich(
|
child: Text.rich(
|
||||||
|
|||||||
Reference in New Issue
Block a user