minor ui fix [skip ci]
Omar committed
Apr 28, 2026 at 20:32 UTC
b01d2a6264c8c3cedb6c2a39aef5eec8eb105a68
1 file changed
+26
-24
lib/src/screens/settings/mweb_node_page.dart
+26
-24
@@ -28,31 +28,33 @@ class _MwebNodePageState extends State<MwebNodePage> {
28
29
@override
30
Widget build(BuildContext context) {
31
- return ModalPageWrapper(
32
- topBar: ModalTopBar(
33
- title: S.current.litecoin_mweb_settings,
34
- onLeadingPressed: Navigator.of(context).pop,
35
- leadingIcon: Icon(Icons.arrow_back_ios_new)),
36
- content: Container(
37
- child: NewListSections(
38
- controllers: {
39
- widget.mwebSettingsViewModelBase.mwebNodeUri: _nodeUriController,
40
- },
41
- sections: {
42
- 'main': [
43
- ListItemTextField(
44
- keyValue: widget.mwebSettingsViewModelBase.mwebNodeUri,
45
- label: S.current.node_address,
46
- validator: NodePathValidator(),
47
- ),
48
- ]
49
- }),
31
+ return SafeArea(
32
+ child: ModalPageWrapper(
33
+ topBar: ModalTopBar(
34
+ title: S.current.litecoin_mweb_settings,
35
+ onLeadingPressed: Navigator.of(context).pop,
36
+ leadingIcon: Icon(Icons.arrow_back_ios_new)),
37
+ content: Container(
38
+ child: NewListSections(
39
+ controllers: {
40
+ widget.mwebSettingsViewModelBase.mwebNodeUri: _nodeUriController,
41
+ },
42
+ sections: {
43
+ 'main': [
44
+ ListItemTextField(
45
+ keyValue: widget.mwebSettingsViewModelBase.mwebNodeUri,
46
+ label: S.current.node_address,
47
+ validator: NodePathValidator(),
48
+ ),
49
+ ]
50
+ }),
51
+ ),
52
+ bottomContent: LoadingPrimaryButton(
53
+ onPressed: () => save(context),
54
+ text: S.of(context).save,
55
+ color: Theme.of(context).colorScheme.primary,
56
+ textColor: Theme.of(context).colorScheme.onPrimary,
57
),
51
- bottomContent: LoadingPrimaryButton(
52
- onPressed: () => save(context),
53
- text: S.of(context).save,
54
- color: Theme.of(context).colorScheme.primary,
55
- textColor: Theme.of(context).colorScheme.onPrimary,
58
),
59
);
60
}