Skip to content

armgit / ente

Public Imported from GitHub
0

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

Add debug changelog action

Neeraj Guptac4ace8cc3985
diff --git a/mobile/apps/photos/lib/ui/settings/debug/debug_settings_page.dart b/mobile/apps/photos/lib/ui/settings/debug/debug_settings_page.dart
index 9ba103d076..08c13c8258 100644
--- a/mobile/apps/photos/lib/ui/settings/debug/debug_settings_page.dart
+++ b/mobile/apps/photos/lib/ui/settings/debug/debug_settings_page.dart
@@ -1,3 +1,4 @@
+import "package:ente_components/ente_components.dart";
import "package:ente_crypto/ente_crypto.dart";
import "package:flutter/material.dart";
import "package:hugeicons/hugeicons.dart";
@@ -14,6 +15,7 @@ import "package:photos/ui/components/settings/settings_grouped_card.dart";
import "package:photos/ui/components/toggle_switch_widget.dart";
import "package:photos/ui/home/christmas/christmas_utils.dart";
import "package:photos/ui/notification/toast.dart";
+import "package:photos/ui/notification/update/change_log_page.dart";
import "package:photos/ui/settings/debug/social_debug_screen.dart";
class DebugSettingsPage extends StatefulWidget {
@@ -227,6 +229,21 @@ class _DebugSettingsPageState extends State<DebugSettingsPage> {
_showKeyAttributesDialog(context);
},
),
+ MenuItemWidgetNew(
+ title: "Show change log",
+ leadingIconWidget: _buildIconWidget(
+ context,
+ HugeIcons.strokeRoundedInformationCircle,
+ ),
+ trailingIcon: Icons.chevron_right_outlined,
+ trailingIconIsMuted: true,
+ onTap: () async {
+ await showBottomSheetComponent<void>(
+ context: context,
+ builder: (context) => const ChangeLogPage(),
+ );
+ },
+ ),
MenuItemWidgetNew(
title: "Delete Local Import DB",
leadingIconWidget: _buildIconWidget(