mirror of
https://github.com/revanced/revanced-manager
synced 2024-05-14 13:56:57 +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';
|
||||
|
||||
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) {
|
||||
|
@ -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,
|
||||
),
|
||||
|
@ -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);
|
||||
|
@ -91,7 +91,7 @@ class InstallerView extends StatelessWidget {
|
||||
mainAxisAlignment: MainAxisAlignment.end,
|
||||
children: [
|
||||
CustomMaterialButton(
|
||||
text: "installerView.shareButton",
|
||||
text: 'installerView.shareButton',
|
||||
isFilled: false,
|
||||
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(
|
||||
padding: const EdgeInsets.symmetric(vertical: 8.0, horizontal: 16.0),
|
||||
child: Column(
|
||||
|
Loading…
Reference in New Issue
Block a user