Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Fix condition for displaying debug sections

Prateek Sunal2a4d94b4cbca
diff --git a/mobile/apps/photos/lib/ui/settings_page.dart b/mobile/apps/photos/lib/ui/settings_page.dart
index be60a2b700..af74ce0659 100644
--- a/mobile/apps/photos/lib/ui/settings_page.dart
+++ b/mobile/apps/photos/lib/ui/settings_page.dart
@@ -169,7 +169,7 @@ class SettingsPage extends StatelessWidget {
const AboutSectionWidget(),
]);
- if (hasLoggedIn && flagService.isInternalUserOrDebug) {
+ if (hasLoggedIn && flagService.internalUser || kDebugMode) {
contents.addAll([sectionSpacing, const DebugSectionWidget()]);
contents.addAll([sectionSpacing, const MLDebugSectionWidget()]);
}