chore: use default list tile text sizes in space details more tab (#3817)

pull/2245/head
ggurdin 2 months ago committed by GitHub
parent 4e2d4042be
commit 44d800762d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -44,7 +44,6 @@ import '../../widgets/matrix.dart';
import 'package:fluffychat/utils/tor_stub.dart' import 'package:fluffychat/utils/tor_stub.dart'
if (dart.library.html) 'package:tor_detector_web/tor_detector_web.dart'; if (dart.library.html) 'package:tor_detector_web/tor_detector_web.dart';
enum PopupMenuAction { enum PopupMenuAction {
settings, settings,
invite, invite,

@ -385,25 +385,13 @@ class SpaceDetailsContentState extends State<SpaceDetailsContent> {
return Opacity( return Opacity(
opacity: b.enabled ? 1.0 : 0.5, opacity: b.enabled ? 1.0 : 0.5,
child: ListTile( child: ListTile(
title: Text( title: Text(b.title),
b.title,
style: const TextStyle(
fontSize: 12.0,
),
),
subtitle: b.description != null subtitle: b.description != null
? Text( ? Text(b.description!)
b.description!,
style: const TextStyle(
fontSize: 8.0,
),
)
: null, : null,
leading: b.icon, leading: b.icon,
onTap: b.enabled onTap: b.enabled
? () { ? () => b.onPressed?.call()
b.onPressed?.call();
}
: null, : null,
), ),
); );

Loading…
Cancel
Save