diff --git a/lib/main.dart b/lib/main.dart index 77f89813..3fcf32bb 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -1,6 +1,5 @@ import 'package:flutter/material.dart'; import 'package:flutter_i18n/flutter_i18n.dart'; -// ignore: depend_on_referenced_packages import 'package:flutter_localizations/flutter_localizations.dart'; import 'package:revanced_manager/app/app.locator.dart'; import 'package:revanced_manager/services/github_api.dart'; diff --git a/lib/services/github_api.dart b/lib/services/github_api.dart index be6d28e8..fed256e9 100644 --- a/lib/services/github_api.dart +++ b/lib/services/github_api.dart @@ -1,6 +1,5 @@ import 'dart:convert'; import 'dart:io'; -// ignore: depend_on_referenced_packages import 'package:collection/collection.dart'; import 'package:dio/dio.dart'; import 'package:dio_http_cache_lts/dio_http_cache_lts.dart'; diff --git a/lib/services/patcher_api.dart b/lib/services/patcher_api.dart index 9ff64d48..5d9e765b 100644 --- a/lib/services/patcher_api.dart +++ b/lib/services/patcher_api.dart @@ -1,6 +1,5 @@ import 'dart:io'; import 'package:app_installer/app_installer.dart'; -// ignore: depend_on_referenced_packages import 'package:collection/collection.dart'; import 'package:device_apps/device_apps.dart'; import 'package:flutter/services.dart'; diff --git a/lib/services/revanced_api.dart b/lib/services/revanced_api.dart index 8e19f986..bc672ca3 100644 --- a/lib/services/revanced_api.dart +++ b/lib/services/revanced_api.dart @@ -1,5 +1,4 @@ import 'dart:io'; -// ignore: depend_on_referenced_packages import 'package:collection/collection.dart'; import 'package:dio/dio.dart'; import 'package:dio_http_cache_lts/dio_http_cache_lts.dart'; diff --git a/lib/ui/views/patches_selector/patches_selector_viewmodel.dart b/lib/ui/views/patches_selector/patches_selector_viewmodel.dart index 7d7e454a..b7c37221 100644 --- a/lib/ui/views/patches_selector/patches_selector_viewmodel.dart +++ b/lib/ui/views/patches_selector/patches_selector_viewmodel.dart @@ -1,4 +1,3 @@ -// ignore: depend_on_referenced_packages import 'package:collection/collection.dart'; import 'package:revanced_manager/app/app.locator.dart'; import 'package:revanced_manager/models/patch.dart'; diff --git a/lib/ui/views/settings/settings_viewmodel.dart b/lib/ui/views/settings/settings_viewmodel.dart index 454df33b..f682a8cf 100644 --- a/lib/ui/views/settings/settings_viewmodel.dart +++ b/lib/ui/views/settings/settings_viewmodel.dart @@ -1,5 +1,4 @@ // ignore_for_file: use_build_context_synchronously - import 'package:device_info_plus/device_info_plus.dart'; import 'package:dynamic_themes/dynamic_themes.dart'; import 'package:flutter/material.dart'; diff --git a/pubspec.yaml b/pubspec.yaml index 2990edd9..826ebc00 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -12,6 +12,7 @@ environment: dependencies: animations: ^2.0.4 app_installer: ^1.1.0 + collection: ^1.16.0 cross_connectivity: ^3.0.5 device_apps: git: @@ -31,6 +32,8 @@ dependencies: flutter_cache_manager: ^3.3.0 flutter_i18n: ^0.32.4 flutter_local_notifications: ^9.8.0+1 + flutter_localizations: + sdk: flutter flutter_svg: ^1.1.1+1 fluttertoast: ^8.0.9 font_awesome_flutter: ^10.1.0