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,6 +1863,9 @@ class _CommentsPartState extends State<_CommentsPart> {
children: [ children: [
SizedBox( SizedBox(
height: 184, height: 184,
child: MediaQuery.removePadding(
removeTop: true,
context: context,
child: ListView.builder( child: ListView.builder(
controller: scrollController, controller: scrollController,
scrollDirection: Axis.horizontal, scrollDirection: Axis.horizontal,
@@ -1872,6 +1875,7 @@ class _CommentsPartState extends State<_CommentsPart> {
}, },
), ),
), ),
),
const SizedBox(height: 8), const SizedBox(height: 8),
_ActionButton( _ActionButton(
icon: const Icon(Icons.comment), icon: const Icon(Icons.comment),

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);
} }