feat: msg like detail

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-06-19 10:14:46 +08:00
parent 30a8b4d25c
commit f440edf43b
11 changed files with 351 additions and 3 deletions

View File

@@ -170,9 +170,19 @@ class _LikeMePageState extends State<LikeMePage> {
return ListTile(
onTap: () {
String? nativeUri = item.item?.nativeUri;
if (nativeUri == null ||
nativeUri.isEmpty ||
nativeUri.startsWith('?')) {
bool isInvalid =
nativeUri == null || nativeUri.isEmpty || nativeUri.startsWith('?');
if (item.counts! > 1) {
Get.toNamed(
'msgLikeDetail',
parameters: {
'id': item.id!.toString(),
if (!isInvalid) 'uri': nativeUri,
},
);
return;
}
if (isInvalid) {
return;
}
PiliScheme.routePushFromUrl(nativeUri);