mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 07:47:24 +00:00
fix comment
This commit is contained in:
@@ -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),
|
||||||
|
@@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user