diff --git a/lib/services/root_api.dart b/lib/services/root_api.dart index c92da35f..33735a04 100644 --- a/lib/services/root_api.dart +++ b/lib/services/root_api.dart @@ -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 isAppInstalled(String packageName) async { if (packageName.isNotEmpty) { diff --git a/lib/ui/views/contributors/contributors_view.dart b/lib/ui/views/contributors/contributors_view.dart index 63903241..459b7a1f 100644 --- a/lib/ui/views/contributors/contributors_view.dart +++ b/lib/ui/views/contributors/contributors_view.dart @@ -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, ), diff --git a/lib/ui/views/home/home_view.dart b/lib/ui/views/home/home_view.dart index dfc36df6..93fdeee7 100644 --- a/lib/ui/views/home/home_view.dart +++ b/lib/ui/views/home/home_view.dart @@ -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); diff --git a/lib/ui/views/installer/installer_view.dart b/lib/ui/views/installer/installer_view.dart index 96ed8d30..82a8fbbd 100644 --- a/lib/ui/views/installer/installer_view.dart +++ b/lib/ui/views/installer/installer_view.dart @@ -91,7 +91,7 @@ class InstallerView extends StatelessWidget { mainAxisAlignment: MainAxisAlignment.end, children: [ CustomMaterialButton( - text: "installerView.shareButton", + text: 'installerView.shareButton', isFilled: false, onPressed: () => model.shareResult(), ), diff --git a/lib/ui/widgets/settingsView/social_media_cards.dart b/lib/ui/widgets/settingsView/social_media_cards.dart index ab5f2ca1..924cf445 100644 --- a/lib/ui/widgets/settingsView/social_media_cards.dart +++ b/lib/ui/widgets/settingsView/social_media_cards.dart @@ -140,7 +140,7 @@ class SocialMediaCards extends StatelessWidget { ], ), ), - collapsed: const Text(""), + collapsed: const Text(''), ); } } diff --git a/lib/ui/widgets/shared/application_item.dart b/lib/ui/widgets/shared/application_item.dart index d7959b88..7c495e6f 100644 --- a/lib/ui/widgets/shared/application_item.dart +++ b/lib/ui/widgets/shared/application_item.dart @@ -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(