small code cleanup

This commit is contained in:
fosse 2024-01-17 12:33:26 -05:00
parent f1f8d1d45c
commit e2413be087

View file

@ -40,17 +40,3 @@ class TorStatus extends StandardListRow {
});
}
}
class NodeHeaderListRow extends StandardListRow {
NodeHeaderListRow({required String title, required void Function(BuildContext context) onTap})
: super(title: title, onTap: onTap, isSelected: false);
@override
Widget buildTrailing(BuildContext context) {
return SizedBox(
width: 20,
child: Icon(Icons.add,
color: Theme.of(context).extension<FilterTheme>()!.titlesColor, size: 24.0),
);
}
}