From 1e804d48293e925bc9ef8688ab8cacbf8bed3e05 Mon Sep 17 00:00:00 2001 From: Neeraj Date: Wed, 10 Sep 2025 17:47:03 +0530 Subject: [PATCH 1/2] Update internal changes log with new entries --- mobile/apps/photos/scripts/internal_changes.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mobile/apps/photos/scripts/internal_changes.txt b/mobile/apps/photos/scripts/internal_changes.txt index 3efc74a4a9..da5bb16db5 100644 --- a/mobile/apps/photos/scripts/internal_changes.txt +++ b/mobile/apps/photos/scripts/internal_changes.txt @@ -1,2 +1,3 @@ +- Neeraj: (i) Option to send qr for link +- Neeraj: (i) Debug option to enable logViewer - Neeraj: Potential fix for ios in-app payment -- Neeraj: (i) Debug option to enable logViewer \ No newline at end of file From dbe0bbc9dcecb33ae2604c1ae038ce8307de0638 Mon Sep 17 00:00:00 2001 From: Neeraj Gupta <254676+ua741@users.noreply.github.com> Date: Wed, 10 Sep 2025 19:58:04 +0530 Subject: [PATCH 2/2] [mob] Fix build error --- .../lib/core/error-reporting/super_logging.dart | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/mobile/apps/photos/lib/core/error-reporting/super_logging.dart b/mobile/apps/photos/lib/core/error-reporting/super_logging.dart index e3d1983d90..13cc1cace5 100644 --- a/mobile/apps/photos/lib/core/error-reporting/super_logging.dart +++ b/mobile/apps/photos/lib/core/error-reporting/super_logging.dart @@ -230,6 +230,7 @@ class SuperLogging { } catch (e) { $.warning("Failed to initialize log viewer: $e"); } + } if (appConfig.body == null) return; @@ -312,14 +313,14 @@ class SuperLogging { saveLogString(str, rec.error); // Hook for external log viewer (if available) // This allows the log_viewer package to capture logs without creating a dependency - if (_logViewerCallback != null) { - try { - if (_logViewerCallback != null) { - _logViewerCallback!(rec, config.prefix); - } - } catch (_) { - // Silently ignore any errors from the log viewer + if(_logViewerCallback != null) { + try { + if (_logViewerCallback != null) { + _logViewerCallback!(rec, config.prefix); } + } catch (_) { + // Silently ignore any errors from the log viewer + } } }