From 44d800762d177e695bda742f5ffba54a6ab8b2ca Mon Sep 17 00:00:00 2001 From: ggurdin <46800240+ggurdin@users.noreply.github.com> Date: Tue, 26 Aug 2025 16:13:23 -0400 Subject: [PATCH] chore: use default list tile text sizes in space details more tab (#3817) --- lib/pages/chat_list/chat_list.dart | 1 - .../pages/space_details_content.dart | 18 +++--------------- 2 files changed, 3 insertions(+), 16 deletions(-) diff --git a/lib/pages/chat_list/chat_list.dart b/lib/pages/chat_list/chat_list.dart index 513e25595..c24d4ea06 100644 --- a/lib/pages/chat_list/chat_list.dart +++ b/lib/pages/chat_list/chat_list.dart @@ -44,7 +44,6 @@ import '../../widgets/matrix.dart'; import 'package:fluffychat/utils/tor_stub.dart' if (dart.library.html) 'package:tor_detector_web/tor_detector_web.dart'; - enum PopupMenuAction { settings, invite, diff --git a/lib/pangea/chat_settings/pages/space_details_content.dart b/lib/pangea/chat_settings/pages/space_details_content.dart index 8557ccafd..2327dd8fa 100644 --- a/lib/pangea/chat_settings/pages/space_details_content.dart +++ b/lib/pangea/chat_settings/pages/space_details_content.dart @@ -385,25 +385,13 @@ class SpaceDetailsContentState extends State { return Opacity( opacity: b.enabled ? 1.0 : 0.5, child: ListTile( - title: Text( - b.title, - style: const TextStyle( - fontSize: 12.0, - ), - ), + title: Text(b.title), subtitle: b.description != null - ? Text( - b.description!, - style: const TextStyle( - fontSize: 8.0, - ), - ) + ? Text(b.description!) : null, leading: b.icon, onTap: b.enabled - ? () { - b.onPressed?.call(); - } + ? () => b.onPressed?.call() : null, ), );