mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-08-06 02:30:12 +08:00
@@ -180,7 +180,7 @@ class _VideoReplyPanelState extends State<VideoReplyPanel>
|
||||
itemBuilder: (context, index) => const VideoReplySkeleton(),
|
||||
itemCount: 5,
|
||||
),
|
||||
Success(:var response) =>
|
||||
Success(:final response) =>
|
||||
response != null && response.isNotEmpty
|
||||
? SliverList.builder(
|
||||
itemBuilder: (context, index) {
|
||||
@@ -229,7 +229,7 @@ class _VideoReplyPanelState extends State<VideoReplyPanel>
|
||||
errMsg: '还没有评论',
|
||||
onReload: _videoReplyController.onReload,
|
||||
),
|
||||
Error(:var errMsg) => HttpError(
|
||||
Error(:final errMsg) => HttpError(
|
||||
errMsg: errMsg,
|
||||
onReload: _videoReplyController.onReload,
|
||||
),
|
||||
|
||||
@@ -800,7 +800,7 @@ class ReplyItemGrpc extends StatelessWidget {
|
||||
.where((url) => !matchedUrls.contains(url))
|
||||
.toList();
|
||||
if (unmatchedItems.isNotEmpty) {
|
||||
for (var patternStr in unmatchedItems) {
|
||||
for (final patternStr in unmatchedItems) {
|
||||
addUrl(patternStr, content.urls[patternStr]!);
|
||||
}
|
||||
}
|
||||
@@ -916,7 +916,7 @@ class ReplyItemGrpc extends StatelessWidget {
|
||||
return;
|
||||
}
|
||||
SmartDialog.showLoading(msg: '删除中...');
|
||||
var result = await VideoHttp.replyDel(
|
||||
final result = await VideoHttp.replyDel(
|
||||
type: item.type.toInt(),
|
||||
oid: item.oid.toInt(),
|
||||
rpid: item.id.toInt(),
|
||||
|
||||
Reference in New Issue
Block a user