mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-17 23:56:13 +08:00
@@ -281,12 +281,18 @@ TextSpan? richNode(
|
||||
onView(i.pics!);
|
||||
return;
|
||||
}
|
||||
if (i.dynPic?.isNotEmpty == true) {
|
||||
onView(i.dynPic!);
|
||||
return;
|
||||
}
|
||||
|
||||
DynamicsHttp.dynPic(i.rid).then((res) {
|
||||
if (res.isSuccess) {
|
||||
var list = res.data;
|
||||
if (Platform.isAndroid) {
|
||||
i.pics = list;
|
||||
} else {
|
||||
i.dynPic = list;
|
||||
}
|
||||
if (list?.isNotEmpty == true) {
|
||||
onView(list!);
|
||||
|
||||
Reference in New Issue
Block a user