Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-12-27 20:54:41 +08:00
parent 25acf3a9bb
commit b51c646415
227 changed files with 768 additions and 764 deletions

View File

@@ -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,
),

View File

@@ -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(),