@@ -27,6 +27,7 @@ class SManageSources extends BaseViewModel {
27
27
return showDialog (
28
28
context: context,
29
29
builder: (context) => AlertDialog (
30
+ scrollable: true ,
30
31
title: Row (
31
32
children: < Widget > [
32
33
Expanded (
@@ -39,75 +40,73 @@ class SManageSources extends BaseViewModel {
39
40
),
40
41
],
41
42
),
42
- content: SingleChildScrollView (
43
- child: Column (
44
- children: < Widget > [
45
- TextField (
46
- controller: _orgPatSourceController,
47
- autocorrect: false ,
48
- onChanged: (value) => notifyListeners (),
49
- decoration: InputDecoration (
50
- icon: Icon (
51
- Icons .extension_outlined,
52
- color: Theme .of (context).colorScheme.onSurfaceVariant,
53
- ),
54
- border: const OutlineInputBorder (),
55
- labelText: t.settingsView.orgPatchesLabel,
56
- hintText: patchesRepo.split ('/' )[0 ],
43
+ content: Column (
44
+ children: < Widget > [
45
+ TextField (
46
+ controller: _orgPatSourceController,
47
+ autocorrect: false ,
48
+ onChanged: (value) => notifyListeners (),
49
+ decoration: InputDecoration (
50
+ icon: Icon (
51
+ Icons .extension_outlined,
52
+ color: Theme .of (context).colorScheme.onSurfaceVariant,
57
53
),
54
+ border: const OutlineInputBorder (),
55
+ labelText: t.settingsView.orgPatchesLabel,
56
+ hintText: patchesRepo.split ('/' )[0 ],
58
57
),
59
- const SizedBox (height: 8 ),
60
- // Patches repository's name
61
- TextField (
62
- controller: _patSourceController,
63
- autocorrect: false ,
64
- onChanged: (value) => notifyListeners (),
65
- decoration: InputDecoration (
66
- icon: const Icon (
67
- Icons .extension_outlined,
68
- color: Colors .transparent,
69
- ),
70
- border: const OutlineInputBorder (),
71
- labelText: t.settingsView.sourcesPatchesLabel,
72
- hintText: patchesRepo.split ('/' )[1 ],
58
+ ),
59
+ const SizedBox (height: 8 ),
60
+ // Patches repository's name
61
+ TextField (
62
+ controller: _patSourceController,
63
+ autocorrect: false ,
64
+ onChanged: (value) => notifyListeners (),
65
+ decoration: InputDecoration (
66
+ icon: const Icon (
67
+ Icons .extension_outlined,
68
+ color: Colors .transparent,
73
69
),
70
+ border: const OutlineInputBorder (),
71
+ labelText: t.settingsView.sourcesPatchesLabel,
72
+ hintText: patchesRepo.split ('/' )[1 ],
74
73
),
75
- const SizedBox (height: 8 ),
76
- // Integrations owner's name
77
- TextField (
78
- controller: _orgIntSourceController,
79
- autocorrect: false ,
80
- onChanged: (value) => notifyListeners (),
81
- decoration: InputDecoration (
82
- icon: Icon (
83
- Icons .merge_outlined,
84
- color: Theme .of (context).colorScheme.onSurfaceVariant,
85
- ),
86
- border: const OutlineInputBorder (),
87
- labelText: t.settingsView.orgIntegrationsLabel,
88
- hintText: integrationsRepo.split ('/' )[0 ],
74
+ ),
75
+ const SizedBox (height: 8 ),
76
+ // Integrations owner's name
77
+ TextField (
78
+ controller: _orgIntSourceController,
79
+ autocorrect: false ,
80
+ onChanged: (value) => notifyListeners (),
81
+ decoration: InputDecoration (
82
+ icon: Icon (
83
+ Icons .merge_outlined,
84
+ color: Theme .of (context).colorScheme.onSurfaceVariant,
89
85
),
86
+ border: const OutlineInputBorder (),
87
+ labelText: t.settingsView.orgIntegrationsLabel,
88
+ hintText: integrationsRepo.split ('/' )[0 ],
90
89
),
91
- const SizedBox (height: 8 ),
92
- // Integrations repository's name
93
- TextField (
94
- controller: _intSourceController,
95
- autocorrect: false ,
96
- onChanged: (value) => notifyListeners (),
97
- decoration: InputDecoration (
98
- icon: const Icon (
99
- Icons .merge_outlined,
100
- color: Colors .transparent,
101
- ),
102
- border: const OutlineInputBorder (),
103
- labelText: t.settingsView.sourcesIntegrationsLabel,
104
- hintText: integrationsRepo.split ('/' )[1 ],
90
+ ),
91
+ const SizedBox (height: 8 ),
92
+ // Integrations repository's name
93
+ TextField (
94
+ controller: _intSourceController,
95
+ autocorrect: false ,
96
+ onChanged: (value) => notifyListeners (),
97
+ decoration: InputDecoration (
98
+ icon: const Icon (
99
+ Icons .merge_outlined,
100
+ color: Colors .transparent,
105
101
),
102
+ border: const OutlineInputBorder (),
103
+ labelText: t.settingsView.sourcesIntegrationsLabel,
104
+ hintText: integrationsRepo.split ('/' )[1 ],
106
105
),
107
- const SizedBox (height : 20 ),
108
- Text (t.settingsView.sourcesUpdateNote ),
109
- ] ,
110
- ) ,
106
+ ),
107
+ const SizedBox (height : 20 ),
108
+ Text (t.settingsView.sourcesUpdateNote) ,
109
+ ] ,
111
110
),
112
111
actions: < Widget > [
113
112
TextButton (
0 commit comments