What changed, and why it matters
This commit is purely a code-formatting cleanup in a single Dart file. It rewraps a few lines of navigation and theme code to match the project's style guide. There are no functional changes, no bug fixes, and no security relevance.
No action required; this is a cosmetic formatting change.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff only reformats whitespace and line breaks in restore_view_only_wallet_view.dart. Two Navigator.of(context).popUntil(...) calls and two Theme.of(context).extension<StackColors>()! chains are rewrapped. No logic, identifiers, values, or control flow are altered.
Changed components
lib/pages/add_wallet_views/restore_wallet_view/restore_view_only_wallet_view.dartInspect captured patch +8 / −9
### lib/pages/add_wallet_views/restore_wallet_view/restore_view_only_wallet_view.dart
@@ -275,9 +275,8 @@ class _RestoreViewOnlyWalletViewState
if (mounted) {
if (Util.isDesktop) {
- Navigator.of(
- context,
- ).popUntil(ModalRoute.withName(DesktopHomeView.routeName));
+ Navigator.of(context)
+ .popUntil(ModalRoute.withName(DesktopHomeView.routeName));
} else {
unawaited(
Navigator.of(
@@ -424,12 +423,12 @@ class _RestoreViewOnlyWalletViewState
if (widget.coin is Firo)
isDesktop ? "Spark View Key" : "View Key",
],
- onColor: Theme.of(
- context,
- ).extension<StackColors>()!.popupBG,
- offColor: Theme.of(
- context,
- ).extension<StackColors>()!.textFieldDefaultBG,
+ onColor: Theme.of(context)
+ .extension<StackColors>()!
+ .popupBG,
+ offColor: Theme.of(context)
+ .extension<StackColors>()!
+ .textFieldDefaultBG,
selectedIndex: _walletType.index - 1,
onValueChanged: (value) {
setState(() {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.