fix tor enabled condition for dashboard icon (#3058)
malik1004x committed
Mar 13, 2026 at 01:59 UTC
10c2e51f4592d4a6c3a91eec9f9d68fc1c157933
1 file changed
+1
-1
lib/view_model/dashboard/dashboard_view_model.dart
+1
-1
@@ -534,7 +534,7 @@ abstract class DashboardViewModelBase with Store {
534
String get address => wallet.walletAddresses.address;
535
536
@computed
537
- bool get isTorEnabled => CakeTor.instance!.enabled;
537
+ bool get isTorEnabled => settingsStore.currentBuiltinTor;
538
539
@computed
540
SyncStatus get status => wallet.syncStatus;