Skip to content

Commit

Permalink
hide trading bot setting
Browse files Browse the repository at this point in the history
  • Loading branch information
naezith committed Jan 8, 2025
1 parent bfb1737 commit a5b9b27
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import 'package:flutter/material.dart';
import 'package:web_dex/app_config/app_config.dart';
import 'package:web_dex/common/screen.dart';
import 'package:web_dex/shared/widgets/hidden_with_wallet.dart';
import 'package:web_dex/shared/widgets/hidden_without_wallet.dart';
Expand All @@ -24,9 +25,10 @@ class GeneralSettings extends StatelessWidget {
const SizedBox(height: 25),
const SettingsManageAnalytics(),
const SizedBox(height: 25),
const HiddenWithoutWallet(
child: SettingsManageTradingBot(),
),
if (!kIsWalletOnly)
const HiddenWithoutWallet(
child: SettingsManageTradingBot(),
),
const SizedBox(height: 25),
const SettingsDownloadLogs(),
const SizedBox(height: 25),
Expand Down

0 comments on commit a5b9b27

Please sign in to comment.