What changed, and why it matters
This commit makes three small, unrelated changes: it updates iOS dependency lock files to include SQLite-related libraries, removes a 'throw e' after an error dialog in a Nano representative-change screen, and adds 'context.mounted' checks before showing bottom sheets during payment flows. The UI fixes prevent harmless Flutter exceptions when a widget is no longer on screen, while the Podfile.lock change is a routine dependency bookkeeping update.
No security action required. Treat as a routine minor bugfix/dependency-sync commit. If reviewing for release, verify the new SQLite pods are expected by the Flutter package set and do not introduce unintended native library versions.
Security signals we found
No security-relevant keywords in commit title or message
No changes to authentication, cryptography, key storage, or network trust
Podfile.lock additions are dependency metadata, not code changes
UI guards are defensive Flutter best-practice, not vulnerability fixes
No vendor or researcher attribution to a security issue
Evidence from the diff
The diff updates ios/Podfile.lock to register sqflite_darwin, sqlite3, and sqlite3_flutter_libs pods, likely reflecting a previously added Flutter package. In nano_change_rep_page.dart, the removal of ‘throw e’ after showing an error dialog changes control flow so the exception is no longer rethrown; this is a minor UX/stability fix. In send_card.dart, two async methods now guard showModalBottomSheet calls with ‘if (!context.mounted) return;’, preventing calls to Navigator on an unmounted BuildContext. None of the changes appear to address a security vulnerability.
Changed components
ios/Podfile.lock dependency metadatalib/src/screens/nano/nano_change_rep_page.dartlib/src/screens/send/widgets/send_card.dartInspect captured patch +46 / −1
diff --git a/ios/Podfile.lock b/ios/Podfile.lock
index 50399668..557e7c3d 100644
--- a/ios/Podfile.lock
+++ b/ios/Podfile.lock
@@ -99,6 +99,34 @@ PODS:
- FlutterMacOS
- sp_scanner (0.0.1):
- Flutter
+ - sqflite_darwin (0.0.4):
+ - Flutter
+ - FlutterMacOS
+ - sqlite3 (3.50.4):
+ - sqlite3/common (= 3.50.4)
+ - sqlite3/common (3.50.4)
+ - sqlite3/dbstatvtab (3.50.4):
+ - sqlite3/common
+ - sqlite3/fts5 (3.50.4):
+ - sqlite3/common
+ - sqlite3/math (3.50.4):
+ - sqlite3/common
+ - sqlite3/perf-threadsafe (3.50.4):
+ - sqlite3/common
+ - sqlite3/rtree (3.50.4):
+ - sqlite3/common
+ - sqlite3/session (3.50.4):
+ - sqlite3/common
+ - sqlite3_flutter_libs (0.0.1):
+ - Flutter
+ - FlutterMacOS
+ - sqlite3 (~> 3.50.4)
+ - sqlite3/dbstatvtab
+ - sqlite3/fts5
+ - sqlite3/math
+ - sqlite3/perf-threadsafe
+ - sqlite3/rtree
+ - sqlite3/session
- SwiftyGif (5.4.5)
- torch_dart (0.0.1):
- Flutter
@@ -144,6 +172,8 @@ DEPENDENCIES:
- share_plus (from `.symlinks/plugins/share_plus/ios`)
- shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`)
- sp_scanner (from `.symlinks/plugins/sp_scanner/ios`)
+ - sqflite_darwin (from `.symlinks/plugins/sqflite_darwin/darwin`)
+ - sqlite3_flutter_libs (from `.symlinks/plugins/sqlite3_flutter_libs/darwin`)
- torch_dart (from `.symlinks/plugins/torch_dart/ios`)
- uni_links (from `.symlinks/plugins/uni_links/ios`)
- universal_ble (from `.symlinks/plugins/universal_ble/darwin`)
@@ -157,6 +187,7 @@ SPEC REPOS:
- DKPhotoGallery
- OrderedSet
- SDWebImage
+ - sqlite3
- SwiftyGif
- YttriumWrapper
@@ -219,6 +250,10 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/shared_preferences_foundation/darwin"
sp_scanner:
:path: ".symlinks/plugins/sp_scanner/ios"
+ sqflite_darwin:
+ :path: ".symlinks/plugins/sqflite_darwin/darwin"
+ sqlite3_flutter_libs:
+ :path: ".symlinks/plugins/sqlite3_flutter_libs/darwin"
torch_dart:
:path: ".symlinks/plugins/torch_dart/ios"
uni_links:
@@ -265,6 +300,9 @@ SPEC CHECKSUMS:
share_plus: 8b6f8b3447e494cca5317c8c3073de39b3600d1f
shared_preferences_foundation: fcdcbc04712aee1108ac7fda236f363274528f78
sp_scanner: eaa617fa827396b967116b7f1f43549ca62e9a12
+ sqflite_darwin: 5a7236e3b501866c1c9befc6771dfd73ffb8702d
+ sqlite3: 73513155ec6979715d3904ef53a8d68892d4032b
+ sqlite3_flutter_libs: 86f82662868ee26ff3451f73cac9c5fc2a1f57fa
SwiftyGif: 706c60cf65fa2bc5ee0313beece843c8eb8194d4
torch_dart: d2cf778332cc6e6a3b362dcf45e4dde52bc34e35
uni_links: d97da20c7701486ba192624d99bffaaffcfc298a
diff --git a/lib/src/screens/nano/nano_change_rep_page.dart b/lib/src/screens/nano/nano_change_rep_page.dart
index ae67cdfc..bd06cd8c 100644
--- a/lib/src/screens/nano/nano_change_rep_page.dart
+++ b/lib/src/screens/nano/nano_change_rep_page.dart
@@ -194,7 +194,6 @@ class NanoChangeRepPage extends BasePage {
buttonText: S.of(context).ok,
buttonAction: () => Navigator.pop(context));
});
- throw e;
}
}
}
diff --git a/lib/src/screens/send/widgets/send_card.dart b/lib/src/screens/send/widgets/send_card.dart
index 8335bd4f..df3af561 100644
--- a/lib/src/screens/send/widgets/send_card.dart
+++ b/lib/src/screens/send/widgets/send_card.dart
@@ -195,6 +195,10 @@ class SendCardState extends State<SendCard> with AutomaticKeepAliveClientMixin<S
PaymentRequest paymentRequest,
PaymentFlowResult result,
) async {
+ if (!context.mounted) {
+ return;
+ }
+
await showModalBottomSheet<void>(
context: context,
isDismissible: true,
@@ -228,6 +232,10 @@ class SendCardState extends State<SendCard> with AutomaticKeepAliveClientMixin<S
WalletSwitcherViewModel walletSwitcherViewModel,
PaymentRequest paymentRequest,
) async {
+ if (!context.mounted) {
+ return;
+ }
+
await showModalBottomSheet<void>(
context: context,
isDismissible: true,
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.