diff --git a/lib/widgets/posts/post_list.dart b/lib/widgets/posts/post_list.dart index 3b42e99..1dfe5c3 100644 --- a/lib/widgets/posts/post_list.dart +++ b/lib/widgets/posts/post_list.dart @@ -3,7 +3,6 @@ import 'package:get/get.dart'; import 'package:infinite_scroll_pagination/infinite_scroll_pagination.dart'; import 'package:solian/models/post.dart'; import 'package:solian/providers/auth.dart'; -import 'package:solian/router.dart'; import 'package:solian/widgets/posts/post_action.dart'; import 'package:solian/widgets/posts/post_item.dart'; @@ -71,13 +70,6 @@ class PostListEntryWidget extends StatelessWidget { isShowEmbed: isShowEmbed, isClickable: isNestedClickable, ).paddingSymmetric(vertical: 8), - onTap: () { - if (!isClickable) return; - AppRouter.instance.pushNamed( - 'postDetail', - pathParameters: {'id': item.id.toString()}, - ); - }, onLongPress: () { final AuthProvider auth = Get.find(); if (auth.isAuthorized.isFalse) return; diff --git a/lib/widgets/posts/post_quick_action.dart b/lib/widgets/posts/post_quick_action.dart index ff9d7c0..75f22f6 100644 --- a/lib/widgets/posts/post_quick_action.dart +++ b/lib/widgets/posts/post_quick_action.dart @@ -102,6 +102,7 @@ class _PostQuickActionState extends State { onPressed: () { showModalBottomSheet( useRootNavigator: true, + backgroundColor: Theme.of(context).colorScheme.surface, context: context, builder: (context) { return PostReplyListPopup(item: widget.item);