Skip to content

Commit

Permalink
refactor: apply changes according to Dart
Browse files Browse the repository at this point in the history
trailing commas
  • Loading branch information
validcube committed Aug 12, 2023
1 parent 4b0c8ce commit 11d8f9f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
8 changes: 6 additions & 2 deletions lib/ui/views/installer/installer_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,18 @@ class InstallerView extends StatelessWidget {
visible: !model.hasErrors,
child: IconButton.filledTonal(
tooltip: FlutterI18n.translate(
context, 'installerView.exportApkButtonTooltip'),
context,
'installerView.exportApkButtonTooltip',
),
icon: const Icon(Icons.save),
onPressed: () => model.onButtonPressed(0),
),
),
IconButton.filledTonal(
tooltip: FlutterI18n.translate(
context, 'installerView.exportLogButtonTooltip'),
context,
'installerView.exportLogButtonTooltip',
),
icon: const Icon(Icons.post_add),
onPressed: () => model.onButtonPressed(1),
),
Expand Down
6 changes: 4 additions & 2 deletions lib/ui/views/installer/installer_viewmodel.dart
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,9 @@ class InstallerViewModel extends BaseViewModel {
children: [
Padding(
padding: const EdgeInsets.symmetric(
horizontal: 20, vertical: 10),
horizontal: 20,
vertical: 10,
),
child: I18nText(
'installerView.installTypeDescription',
child: Text(
Expand Down Expand Up @@ -240,7 +242,7 @@ class InstallerViewModel extends BaseViewModel {
Navigator.of(context).pop();
installResult(context, installType.value == 1);
},
)
),
],
),
);
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/widgets/patchesSelectorView/patch_item.dart
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ class _PatchItemState extends State<PatchItem> {
),
),
),
)
),
],
),
widget.child ?? const SizedBox(),
Expand Down

0 comments on commit 11d8f9f

Please sign in to comment.