Skip to content

Commit 5302aaa

Browse files
committed
fix: avoid stealth mode build info collision
1 parent 9020bd1 commit 5302aaa

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

lib/core/common/app_build_info.dart

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,19 +33,19 @@ class AppBuildInfo {
3333
);
3434

3535
/// Removes high-identification UI and runtime flows from stealth artifacts.
36-
static const bool stealthMode =
36+
static const bool suppressIdentifyingFeatures =
3737
stealthBuild ||
3838
stealthNoVpn ||
3939
stealthModeName == 'stealth-vpn' ||
4040
stealthModeName == 'stealth-novpn' ||
4141
stealthModeName == 'true';
4242

43-
static const bool enableOAuth = !stealthMode;
44-
static const bool enablePayments = !stealthMode;
45-
static const bool enableStorePayments = !stealthMode;
46-
static const bool enableAppLinks = !stealthMode;
47-
static const bool enableSocialLinks = !stealthMode;
48-
static const bool enableAutoUpdate = !stealthMode;
43+
static const bool enableOAuth = !suppressIdentifyingFeatures;
44+
static const bool enablePayments = !suppressIdentifyingFeatures;
45+
static const bool enableStorePayments = !suppressIdentifyingFeatures;
46+
static const bool enableAppLinks = !suppressIdentifyingFeatures;
47+
static const bool enableSocialLinks = !suppressIdentifyingFeatures;
48+
static const bool enableAutoUpdate = !suppressIdentifyingFeatures;
4949

5050
/// Developer mode is exposed in debug and nightly builds only.
5151
static bool get isDevModeEnabled => kDebugMode || buildType == 'nightly';

0 commit comments

Comments
 (0)