mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-11 05:14:46 +00:00
small fix
This commit is contained in:
parent
a2a5d6deea
commit
f1f8d1d45c
2 changed files with 1 additions and 3 deletions
|
@ -122,7 +122,6 @@ class ConnectionSyncPage extends BasePage {
|
||||||
),
|
),
|
||||||
title: S.current.tor_status,
|
title: S.current.tor_status,
|
||||||
isSelected: false,
|
isSelected: false,
|
||||||
onTap: (context) {},
|
|
||||||
),
|
),
|
||||||
]),
|
]),
|
||||||
),
|
),
|
||||||
|
|
|
@ -10,11 +10,10 @@ import 'package:flutter_mobx/flutter_mobx.dart';
|
||||||
class TorStatus extends StandardListRow {
|
class TorStatus extends StandardListRow {
|
||||||
TorStatus(
|
TorStatus(
|
||||||
{required String title,
|
{required String title,
|
||||||
required void Function(BuildContext context) onTap,
|
|
||||||
required bool isSelected,
|
required bool isSelected,
|
||||||
required this.torViewModel,
|
required this.torViewModel,
|
||||||
BoxDecoration? decoration})
|
BoxDecoration? decoration})
|
||||||
: super(title: title, onTap: onTap, isSelected: isSelected, decoration: decoration);
|
: super(title: title, onTap: null, isSelected: isSelected, decoration: decoration);
|
||||||
|
|
||||||
final TorViewModel torViewModel;
|
final TorViewModel torViewModel;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue