fix: use single quotes instead of quotes as per Flutter standard

This commit is contained in:
Alberto Ponces 2022-08-31 09:36:36 +01:00
parent 5a613a695e
commit 533f22924a
6 changed files with 13 additions and 13 deletions

View File

@ -1,9 +1,9 @@
import 'package:root/root.dart';
class RootAPI {
final String _managerDirPath = "/data/adb/revanced_manager";
final String _postFsDataDirPath = "/data/adb/post-fs-data.d";
final String _serviceDDirPath = "/data/adb/service.d";
final String _managerDirPath = '/data/adb/revanced_manager';
final String _postFsDataDirPath = '/data/adb/post-fs-data.d';
final String _serviceDDirPath = '/data/adb/service.d';
Future<bool> isAppInstalled(String packageName) async {
if (packageName.isNotEmpty) {

View File

@ -17,27 +17,27 @@ class ContributorsView extends StatelessWidget {
child: Column(
children: [
ContributorsCard(
title: "Patcher Contributors",
title: 'Patcher Contributors',
contributors: model.patcherContributors,
height: 60,
),
ContributorsCard(
title: "Patches Contributors",
title: 'Patches Contributors',
contributors: model.patchesContributors,
height: 230,
),
ContributorsCard(
title: "Integrations Contributors",
title: 'Integrations Contributors',
contributors: model.integrationsContributors,
height: 230,
),
ContributorsCard(
title: "CLI Contributors",
title: 'CLI Contributors',
contributors: model.cliContributors,
height: 180,
),
ContributorsCard(
title: "Manager Contributors",
title: 'Manager Contributors',
contributors: model.managerContributors,
height: 130,
),

View File

@ -92,7 +92,7 @@ class HomeView extends StatelessWidget {
Row(
children: [
DashboardChip(
label: "homeView.updatesAvailable",
label: 'homeView.updatesAvailable',
isSelected: model.showUpdatableApps,
onSelected: (value) {
model.toggleUpdatableApps(true);
@ -100,7 +100,7 @@ class HomeView extends StatelessWidget {
),
const SizedBox(width: 10),
DashboardChip(
label: "homeView.installed",
label: 'homeView.installed',
isSelected: !model.showUpdatableApps,
onSelected: (value) {
model.toggleUpdatableApps(false);

View File

@ -91,7 +91,7 @@ class InstallerView extends StatelessWidget {
mainAxisAlignment: MainAxisAlignment.end,
children: [
CustomMaterialButton(
text: "installerView.shareButton",
text: 'installerView.shareButton',
isFilled: false,
onPressed: () => model.shareResult(),
),

View File

@ -140,7 +140,7 @@ class SocialMediaCards extends StatelessWidget {
],
),
),
collapsed: const Text(""),
collapsed: const Text(''),
);
}
}

View File

@ -90,7 +90,7 @@ class ApplicationItem extends StatelessWidget {
],
),
),
collapsed: const Text(""),
collapsed: const Text(''),
expanded: Padding(
padding: const EdgeInsets.symmetric(vertical: 8.0, horizontal: 16.0),
child: Column(