mirror of
https://github.com/revanced/revanced-manager
synced 2024-05-14 13:56:57 +02:00
refactor: apply changes according to Dart
trailing commas
This commit is contained in:
parent
4b0c8cecc8
commit
11d8f9fd30
@ -39,14 +39,18 @@ class InstallerView extends StatelessWidget {
|
|||||||
visible: !model.hasErrors,
|
visible: !model.hasErrors,
|
||||||
child: IconButton.filledTonal(
|
child: IconButton.filledTonal(
|
||||||
tooltip: FlutterI18n.translate(
|
tooltip: FlutterI18n.translate(
|
||||||
context, 'installerView.exportApkButtonTooltip'),
|
context,
|
||||||
|
'installerView.exportApkButtonTooltip',
|
||||||
|
),
|
||||||
icon: const Icon(Icons.save),
|
icon: const Icon(Icons.save),
|
||||||
onPressed: () => model.onButtonPressed(0),
|
onPressed: () => model.onButtonPressed(0),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
IconButton.filledTonal(
|
IconButton.filledTonal(
|
||||||
tooltip: FlutterI18n.translate(
|
tooltip: FlutterI18n.translate(
|
||||||
context, 'installerView.exportLogButtonTooltip'),
|
context,
|
||||||
|
'installerView.exportLogButtonTooltip',
|
||||||
|
),
|
||||||
icon: const Icon(Icons.post_add),
|
icon: const Icon(Icons.post_add),
|
||||||
onPressed: () => model.onButtonPressed(1),
|
onPressed: () => model.onButtonPressed(1),
|
||||||
),
|
),
|
||||||
|
@ -190,7 +190,9 @@ class InstallerViewModel extends BaseViewModel {
|
|||||||
children: [
|
children: [
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.symmetric(
|
padding: const EdgeInsets.symmetric(
|
||||||
horizontal: 20, vertical: 10),
|
horizontal: 20,
|
||||||
|
vertical: 10,
|
||||||
|
),
|
||||||
child: I18nText(
|
child: I18nText(
|
||||||
'installerView.installTypeDescription',
|
'installerView.installTypeDescription',
|
||||||
child: Text(
|
child: Text(
|
||||||
@ -240,7 +242,7 @@ class InstallerViewModel extends BaseViewModel {
|
|||||||
Navigator.of(context).pop();
|
Navigator.of(context).pop();
|
||||||
installResult(context, installType.value == 1);
|
installResult(context, installType.value == 1);
|
||||||
},
|
},
|
||||||
)
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
@ -186,7 +186,7 @@ class _PatchItemState extends State<PatchItem> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
)
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
widget.child ?? const SizedBox(),
|
widget.child ?? const SizedBox(),
|
||||||
|
Loading…
Reference in New Issue
Block a user