chore: use default list tile text sizes in space details more tab (#3817)
This commit is contained in:
parent
4e2d4042be
commit
44d800762d
2 changed files with 3 additions and 16 deletions
|
|
@ -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…
Add table
Reference in a new issue