File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -218,15 +218,15 @@ class _ConfigurationsScreenState extends State<ConfigurationsScreen> {
218
218
),
219
219
Padding (
220
220
padding:
221
- const EdgeInsets .symmetric (vertical: 16 , horizontal: 32 ),
221
+ const EdgeInsets .symmetric (vertical: 16 , horizontal: 32 ),
222
222
child: Container (
223
223
width: double .infinity,
224
224
child: ElevatedButton (
225
225
style: ElevatedButton .styleFrom (
226
226
shape: RoundedRectangleBorder (
227
227
borderRadius: BorderRadius .circular (5.0 ),
228
228
side:
229
- BorderSide (color: Theme .of (context).primaryColor),
229
+ BorderSide (color: Theme .of (context).primaryColor),
230
230
),
231
231
primary: Provider .of <Mode >(context).isLightMode
232
232
? Colors .white
@@ -243,8 +243,10 @@ class _ConfigurationsScreenState extends State<ConfigurationsScreen> {
243
243
),
244
244
),
245
245
onPressed: () async {
246
- var api = await showDialog <Api >(builder: (context) => DiscoverPage (), context: context);
247
- if (api != null ){
246
+ var api = await showDialog <Api >(
247
+ builder: (context) => DiscoverPage (),
248
+ context: context);
249
+ if (api != null ) {
248
250
urlController.text = api.url;
249
251
usernameController.text = api.username;
250
252
passwordController.text = api.password;
You can’t perform that action at this time.
0 commit comments