small fix

This commit is contained in:
fosse 2024-01-17 12:32:17 -05:00
parent a2a5d6deea
commit f1f8d1d45c
2 changed files with 1 additions and 3 deletions

View file

@ -122,7 +122,6 @@ class ConnectionSyncPage extends BasePage {
),
title: S.current.tor_status,
isSelected: false,
onTap: (context) {},
),
]),
),

View file

@ -10,11 +10,10 @@ import 'package:flutter_mobx/flutter_mobx.dart';
class TorStatus extends StandardListRow {
TorStatus(
{required String title,
required void Function(BuildContext context) onTap,
required bool isSelected,
required this.torViewModel,
BoxDecoration? decoration})
: super(title: title, onTap: onTap, isSelected: isSelected, decoration: decoration);
: super(title: title, onTap: null, isSelected: isSelected, decoration: decoration);
final TorViewModel torViewModel;