What changed, and why it matters
This commit is a minor user-interface adjustment. It wraps an existing settings page in a 'SafeArea' widget so content avoids notches or system bars, and slightly reformats indentation. There is no security-relevant change.
No security action needed; treat as routine UI polish.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff only modifies lib/src/screens/settings/mweb_node_page.dart. It adds a SafeArea around ModalPageWrapper and adjusts whitespace/indentation. No logic, validation, network handling, or data flow was changed.
Changed components
lib/src/screens/settings/mweb_node_page.dartInspect captured patch +26 / −24
diff --git a/lib/src/screens/settings/mweb_node_page.dart b/lib/src/screens/settings/mweb_node_page.dart
index 32ba6886..45b89ed9 100644
--- a/lib/src/screens/settings/mweb_node_page.dart
+++ b/lib/src/screens/settings/mweb_node_page.dart
@@ -28,31 +28,33 @@ class _MwebNodePageState extends State<MwebNodePage> {
@override
Widget build(BuildContext context) {
- return ModalPageWrapper(
- topBar: ModalTopBar(
- title: S.current.litecoin_mweb_settings,
- onLeadingPressed: Navigator.of(context).pop,
- leadingIcon: Icon(Icons.arrow_back_ios_new)),
- content: Container(
- child: NewListSections(
- controllers: {
- widget.mwebSettingsViewModelBase.mwebNodeUri: _nodeUriController,
- },
- sections: {
- 'main': [
- ListItemTextField(
- keyValue: widget.mwebSettingsViewModelBase.mwebNodeUri,
- label: S.current.node_address,
- validator: NodePathValidator(),
- ),
- ]
- }),
+ return SafeArea(
+ child: ModalPageWrapper(
+ topBar: ModalTopBar(
+ title: S.current.litecoin_mweb_settings,
+ onLeadingPressed: Navigator.of(context).pop,
+ leadingIcon: Icon(Icons.arrow_back_ios_new)),
+ content: Container(
+ child: NewListSections(
+ controllers: {
+ widget.mwebSettingsViewModelBase.mwebNodeUri: _nodeUriController,
+ },
+ sections: {
+ 'main': [
+ ListItemTextField(
+ keyValue: widget.mwebSettingsViewModelBase.mwebNodeUri,
+ label: S.current.node_address,
+ validator: NodePathValidator(),
+ ),
+ ]
+ }),
+ ),
+ bottomContent: LoadingPrimaryButton(
+ onPressed: () => save(context),
+ text: S.of(context).save,
+ color: Theme.of(context).colorScheme.primary,
+ textColor: Theme.of(context).colorScheme.onPrimary,
),
- bottomContent: LoadingPrimaryButton(
- onPressed: () => save(context),
- text: S.of(context).save,
- color: Theme.of(context).colorScheme.primary,
- textColor: Theme.of(context).colorScheme.onPrimary,
),
);
}
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.