fix comment

This commit is contained in:
2024-11-22 10:24:31 +08:00
parent f4b9cb5abe
commit f3aa0e9f27
2 changed files with 12 additions and 8 deletions

View File

@@ -1863,13 +1863,17 @@ class _CommentsPartState extends State<_CommentsPart> {
children: [ children: [
SizedBox( SizedBox(
height: 184, height: 184,
child: ListView.builder( child: MediaQuery.removePadding(
controller: scrollController, removeTop: true,
scrollDirection: Axis.horizontal, context: context,
itemCount: comments.length, child: ListView.builder(
itemBuilder: (context, index) { controller: scrollController,
return _CommentWidget(comment: comments[index]); scrollDirection: Axis.horizontal,
}, itemCount: comments.length,
itemBuilder: (context, index) {
return _CommentWidget(comment: comments[index]);
},
),
), ),
), ),
const SizedBox(height: 8), const SizedBox(height: 8),

View File

@@ -595,7 +595,7 @@ class _Tag {
static void handleLink(String link) async { static void handleLink(String link) async {
if (link.isURL) { if (link.isURL) {
if (await handleAppLink(Uri.parse(link))) { if (await handleAppLink(Uri.parse(link))) {
App.rootContext.pop(); Navigator.of(App.rootContext).maybePop();
} else { } else {
launchUrlString(link); launchUrlString(link);
} }