From a627b5838e433fe444afcebe9cf45c7c052e29a1 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Mon, 25 Aug 2025 19:57:30 +0800 Subject: [PATCH] :necktie: Disable pin reply --- lib/widgets/post/post_pin_sheet.dart | 52 ++++++++++++++-------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/lib/widgets/post/post_pin_sheet.dart b/lib/widgets/post/post_pin_sheet.dart index 6e68182a..5ca390cf 100644 --- a/lib/widgets/post/post_pin_sheet.dart +++ b/lib/widgets/post/post_pin_sheet.dart @@ -83,32 +83,32 @@ class PostPinSheet extends HookConsumerWidget { ), // Reply page pin option (show always, but disabled when not available) - ListTile( - leading: Radio( - value: 2, - groupValue: mode.value, - onChanged: - post.repliedPostId != null && post.repliedPostId!.isNotEmpty - ? (value) { - mode.value = value!; - } - : null, - ), - title: Text('replyPage'.tr()), - subtitle: - post.repliedPostId != null && post.repliedPostId!.isNotEmpty - ? Text('pinPostReplyHint'.tr()) - : Text('pinPostReplyDisabledHint'.tr()), - onTap: - post.repliedPostId != null && post.repliedPostId!.isNotEmpty - ? () { - mode.value = 2; - } - : null, - enabled: - post.repliedPostId != null && post.repliedPostId!.isNotEmpty, - ), - + // Disabled for now because im being lazy + // ListTile( + // leading: Radio( + // value: 2, + // groupValue: mode.value, + // onChanged: + // post.repliedPostId != null && post.repliedPostId!.isNotEmpty + // ? (value) { + // mode.value = value!; + // } + // : null, + // ), + // title: Text('replyPage'.tr()), + // subtitle: + // post.repliedPostId != null && post.repliedPostId!.isNotEmpty + // ? Text('pinPostReplyHint'.tr()) + // : Text('pinPostReplyDisabledHint'.tr()), + // onTap: + // post.repliedPostId != null && post.repliedPostId!.isNotEmpty + // ? () { + // mode.value = 2; + // } + // : null, + // enabled: + // post.repliedPostId != null && post.repliedPostId!.isNotEmpty, + // ), const SizedBox(height: 16), // Pin button