disable custom background temporarily [skip ci]

OmarHatem committed Aug 15, 2025 at 14:33 UTC 3dd26c8c087e2c05837beb57780c2fb1a5076823
2 files changed +8 -5
lib/src/screens/settings/display_settings_page.dart
+7 -5
@@ -8,6 +8,7 @@ import 'package:cake_wallet/src/screens/settings/widgets/settings_theme_choice.d
8 import 'package:cake_wallet/src/widgets/alert_with_two_actions.dart';
9 import 'package:cake_wallet/src/widgets/standard_list.dart';
10 import 'package:cake_wallet/utils/device_info.dart';
11 +import 'package:cake_wallet/utils/feature_flag.dart';
12 import 'package:cake_wallet/utils/responsive_layout_util.dart';
13 import 'package:cake_wallet/utils/show_pop_up.dart';
14 import 'package:cake_wallet/view_model/settings/display_settings_view_model.dart';
@@ -81,11 +82,12 @@ class DisplaySettingsPage extends BasePage {
82 },
83 ),
84
84 - StandardListRow(
85 - title: "Custom background",
86 - isSelected: false,
87 - onTap: (_) => _pickImage(context),
88 - ),
85 + if (FeatureFlag.customBackgroundEnabled)
86 + StandardListRow(
87 + title: "Custom background",
88 + isSelected: false,
89 + onTap: (_) => _pickImage(context),
90 + ),
91
92 if (responsiveLayoutUtil.shouldRenderMobileUI && DeviceInfo.instance.isMobile) ...[
93 SettingsSwitcherCell(
lib/utils/feature_flag.dart
+1
@@ -12,4 +12,5 @@ class FeatureFlag {
12 static const int verificationWordsCount = kDebugMode ? 0 : 2;
13 static const bool hasDevOptions = bool.fromEnvironment('hasDevOptions', defaultValue: kDebugMode);
14 static const bool hasBitcoinViewOnly = true;
15 + static const bool customBackgroundEnabled = false;
16 }