[mob][photos] Remove double face debug widget

This commit is contained in:
laurenspriem 2024-05-15 14:43:31 +05:30
parent cdf3d0e037
commit 83a873672f
2 changed files with 1 additions and 4 deletions

View file

@ -47,7 +47,7 @@ class _FaceDebugSectionWidgetState extends State<FaceDebugSectionWidget> {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return ExpandableMenuItemWidget( return ExpandableMenuItemWidget(
title: "Face Beta", title: "Faces Debug",
selectionOptionsWidget: _getSectionOptions(context), selectionOptionsWidget: _getSectionOptions(context),
leadingIcon: Icons.bug_report_outlined, leadingIcon: Icons.bug_report_outlined,
); );

View file

@ -55,9 +55,6 @@ class SettingsPage extends StatelessWidget {
final enteTextTheme = getEnteTextTheme(context); final enteTextTheme = getEnteTextTheme(context);
final List<Widget> contents = []; final List<Widget> contents = [];
const sectionSpacing = SizedBox(height: 8); const sectionSpacing = SizedBox(height: 8);
if (kDebugMode) {
contents.addAll([const FaceDebugSectionWidget(), sectionSpacing]);
}
contents.add( contents.add(
GestureDetector( GestureDetector(
onDoubleTap: () { onDoubleTap: () {