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'
if (dart.library.html) 'package:tor_detector_web/tor_detector_web.dart';
enum PopupMenuAction {
settings,
invite,

@ -385,25 +385,13 @@ class SpaceDetailsContentState extends State<SpaceDetailsContent> {
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,
),
);

Loading…
Cancel
Save