mirror of
https://github.com/revanced/revanced-manager.git
synced 2025-04-30 05:54:26 +02:00
fix: use single quotes instead of quotes as per Flutter standard
This commit is contained in:
parent
5a613a695e
commit
533f22924a
@ -1,9 +1,9 @@
|
|||||||
import 'package:root/root.dart';
|
import 'package:root/root.dart';
|
||||||
|
|
||||||
class RootAPI {
|
class RootAPI {
|
||||||
final String _managerDirPath = "/data/adb/revanced_manager";
|
final String _managerDirPath = '/data/adb/revanced_manager';
|
||||||
final String _postFsDataDirPath = "/data/adb/post-fs-data.d";
|
final String _postFsDataDirPath = '/data/adb/post-fs-data.d';
|
||||||
final String _serviceDDirPath = "/data/adb/service.d";
|
final String _serviceDDirPath = '/data/adb/service.d';
|
||||||
|
|
||||||
Future<bool> isAppInstalled(String packageName) async {
|
Future<bool> isAppInstalled(String packageName) async {
|
||||||
if (packageName.isNotEmpty) {
|
if (packageName.isNotEmpty) {
|
||||||
|
@ -17,27 +17,27 @@ class ContributorsView extends StatelessWidget {
|
|||||||
child: Column(
|
child: Column(
|
||||||
children: [
|
children: [
|
||||||
ContributorsCard(
|
ContributorsCard(
|
||||||
title: "Patcher Contributors",
|
title: 'Patcher Contributors',
|
||||||
contributors: model.patcherContributors,
|
contributors: model.patcherContributors,
|
||||||
height: 60,
|
height: 60,
|
||||||
),
|
),
|
||||||
ContributorsCard(
|
ContributorsCard(
|
||||||
title: "Patches Contributors",
|
title: 'Patches Contributors',
|
||||||
contributors: model.patchesContributors,
|
contributors: model.patchesContributors,
|
||||||
height: 230,
|
height: 230,
|
||||||
),
|
),
|
||||||
ContributorsCard(
|
ContributorsCard(
|
||||||
title: "Integrations Contributors",
|
title: 'Integrations Contributors',
|
||||||
contributors: model.integrationsContributors,
|
contributors: model.integrationsContributors,
|
||||||
height: 230,
|
height: 230,
|
||||||
),
|
),
|
||||||
ContributorsCard(
|
ContributorsCard(
|
||||||
title: "CLI Contributors",
|
title: 'CLI Contributors',
|
||||||
contributors: model.cliContributors,
|
contributors: model.cliContributors,
|
||||||
height: 180,
|
height: 180,
|
||||||
),
|
),
|
||||||
ContributorsCard(
|
ContributorsCard(
|
||||||
title: "Manager Contributors",
|
title: 'Manager Contributors',
|
||||||
contributors: model.managerContributors,
|
contributors: model.managerContributors,
|
||||||
height: 130,
|
height: 130,
|
||||||
),
|
),
|
||||||
|
@ -92,7 +92,7 @@ class HomeView extends StatelessWidget {
|
|||||||
Row(
|
Row(
|
||||||
children: [
|
children: [
|
||||||
DashboardChip(
|
DashboardChip(
|
||||||
label: "homeView.updatesAvailable",
|
label: 'homeView.updatesAvailable',
|
||||||
isSelected: model.showUpdatableApps,
|
isSelected: model.showUpdatableApps,
|
||||||
onSelected: (value) {
|
onSelected: (value) {
|
||||||
model.toggleUpdatableApps(true);
|
model.toggleUpdatableApps(true);
|
||||||
@ -100,7 +100,7 @@ class HomeView extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
const SizedBox(width: 10),
|
const SizedBox(width: 10),
|
||||||
DashboardChip(
|
DashboardChip(
|
||||||
label: "homeView.installed",
|
label: 'homeView.installed',
|
||||||
isSelected: !model.showUpdatableApps,
|
isSelected: !model.showUpdatableApps,
|
||||||
onSelected: (value) {
|
onSelected: (value) {
|
||||||
model.toggleUpdatableApps(false);
|
model.toggleUpdatableApps(false);
|
||||||
|
@ -91,7 +91,7 @@ class InstallerView extends StatelessWidget {
|
|||||||
mainAxisAlignment: MainAxisAlignment.end,
|
mainAxisAlignment: MainAxisAlignment.end,
|
||||||
children: [
|
children: [
|
||||||
CustomMaterialButton(
|
CustomMaterialButton(
|
||||||
text: "installerView.shareButton",
|
text: 'installerView.shareButton',
|
||||||
isFilled: false,
|
isFilled: false,
|
||||||
onPressed: () => model.shareResult(),
|
onPressed: () => model.shareResult(),
|
||||||
),
|
),
|
||||||
|
@ -140,7 +140,7 @@ class SocialMediaCards extends StatelessWidget {
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
collapsed: const Text(""),
|
collapsed: const Text(''),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -90,7 +90,7 @@ class ApplicationItem extends StatelessWidget {
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
collapsed: const Text(""),
|
collapsed: const Text(''),
|
||||||
expanded: Padding(
|
expanded: Padding(
|
||||||
padding: const EdgeInsets.symmetric(vertical: 8.0, horizontal: 16.0),
|
padding: const EdgeInsets.symmetric(vertical: 8.0, horizontal: 16.0),
|
||||||
child: Column(
|
child: Column(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user