浏览代码

DebugOnly: Support for clearing changelog tracking

Neeraj Gupta 2 年之前
父节点
当前提交
9592eb1f59
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      lib/ui/settings/debug_section_widget.dart

+ 2 - 0
lib/ui/settings/debug_section_widget.dart

@@ -6,6 +6,7 @@ import 'package:photos/core/configuration.dart';
 import 'package:photos/services/ignored_files_service.dart';
 import 'package:photos/services/ignored_files_service.dart';
 import 'package:photos/services/local_sync_service.dart';
 import 'package:photos/services/local_sync_service.dart';
 import 'package:photos/services/sync_service.dart';
 import 'package:photos/services/sync_service.dart';
+import 'package:photos/services/update_service.dart';
 import 'package:photos/theme/ente_theme.dart';
 import 'package:photos/theme/ente_theme.dart';
 import 'package:photos/ui/components/captioned_text_widget.dart';
 import 'package:photos/ui/components/captioned_text_widget.dart';
 import 'package:photos/ui/components/expandable_menu_item_widget.dart';
 import 'package:photos/ui/components/expandable_menu_item_widget.dart';
@@ -37,6 +38,7 @@ class DebugSectionWidget extends StatelessWidget {
           trailingIcon: Icons.chevron_right_outlined,
           trailingIcon: Icons.chevron_right_outlined,
           trailingIconIsMuted: true,
           trailingIconIsMuted: true,
           onTap: () async {
           onTap: () async {
+            await UpdateService.instance.resetChangeLog();
             _showKeyAttributesDialog(context);
             _showKeyAttributesDialog(context);
           },
           },
         ),
         ),