refactor: apply changes according to analysis

trailing commas, and sort import alphabetically
This commit is contained in:
Pun Butrach 2023-08-06 14:39:46 +07:00
parent 0b529c2629
commit 264d8d90c4
No known key found for this signature in database
GPG key ID: 2B0F94D832579862
19 changed files with 42 additions and 37 deletions

View file

@ -40,7 +40,7 @@ class SManageSources extends BaseViewModel {
icon: const Icon(Icons.manage_history_outlined),
onPressed: () => showResetConfirmationDialog(context),
color: Theme.of(context).colorScheme.secondary,
)
),
],
),
backgroundColor: Theme.of(context).colorScheme.secondaryContainer,
@ -102,7 +102,7 @@ class SManageSources extends BaseViewModel {
onChanged: (value) => notifyListeners(),
),
const SizedBox(height: 20),
I18nText('settingsView.sourcesUpdateNote')
I18nText('settingsView.sourcesUpdateNote'),
],
),
),
@ -132,7 +132,7 @@ class SManageSources extends BaseViewModel {
_toast.showBottom('settingsView.restartAppForChanges');
Navigator.of(context).pop();
},
)
),
],
),
);
@ -163,7 +163,7 @@ class SManageSources extends BaseViewModel {
..pop()
..pop();
},
)
),
],
),
);