[mob][photos] Remove double face debug widget
This commit is contained in:
parent
cdf3d0e037
commit
83a873672f
|
@ -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,
|
||||||
);
|
);
|
||||||
|
|
|
@ -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: () {
|
||||||
|
|
Loading…
Reference in a new issue