Skip to content

Commit

Permalink
Merge pull request #13 from berhili098/bump-dependencies-and-clean-so…
Browse files Browse the repository at this point in the history
…me-code

bump dependencies and clean some code
  • Loading branch information
deandreamatias authored Jan 8, 2025
2 parents bb98a84 + 6275ea7 commit 4dae102
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .fvmrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"flutter": "3.24.3"
"flutter": "3.27.1"
}
1 change: 0 additions & 1 deletion lib/core/migration/domain/models/migration_status.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ extension MigrationStatusExtenstion on MigrationStatus {
case MigrationStatus.complete:
return 8;
case MigrationStatus.init:
default:
return 0;
}
}
Expand Down
1 change: 0 additions & 1 deletion lib/ui/shared/errors_messages/api_error_extension.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ extension ApiErrorExtension on ApiErrorCode {
apiError = translate('app.errors.internal_server_tvshows');
break;
case ApiErrorCode.generalError:
default:
apiError = translate('app.errors.global');
}

Expand Down
2 changes: 0 additions & 2 deletions lib/ui/shared/errors_messages/app_error_extension.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ extension AppErrorExtension on AppErrorCode {
case AppErrorCode.invalidSeasonNumber:
appError = translate('app.errors.app_invalid_season');
break;
default:
appError = translate('app.errors.app_unknown');
}

return translate('app.errors.app', args: {'detail': appError});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ extension DatabaseErrorExtension on DatabaseErrorCode {
databaseError = translate('app.errors.database_read');
break;
case DatabaseErrorCode.unknown:
default:
databaseError = translate('app.errors.database_unknown');
}

Expand Down
5 changes: 4 additions & 1 deletion lib/ui/widgets/image_builder.dart
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ class ImageBuilder extends StatelessWidget {
decoration: BoxDecoration(
borderRadius:
const BorderRadius.all(Radius.circular(Styles.small)),
color: Theme.of(context).colorScheme.surface.withOpacity(0.8),
color: Theme.of(context)
.colorScheme
.surface
.withValues(alpha: 0.8),
),
child: Text(
name,
Expand Down
32 changes: 16 additions & 16 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,46 +9,46 @@ environment:

dependencies:
cached_network_image: 3.4.1
collection: 1.18.0
collection: ^1.19.0
dio: 5.7.0
file_saver: 0.2.14
flare_flutter: 3.0.2
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
flutter_markdown: 0.7.3
flutter_riverpod: 2.5.1
flutter_markdown: ^0.7.5
flutter_riverpod: ^2.6.1
flutter_translate: 4.1.0
get_it: 8.0.0
get_it: ^8.0.3
hive: 2.2.3
hive_flutter: 1.1.0
in_app_review: 2.0.9
in_app_review: ^2.0.10
injectable: 2.5.0
json_annotation: 4.9.0
package_info_plus: 8.0.2
package_info_plus: ^8.1.2
path: 1.9.0
path_provider: 2.1.4
shared_preferences: 2.3.2
sqflite: 2.3.3+2
stack_trace: 1.11.1
path_provider: ^2.1.5
shared_preferences: ^2.3.5
sqflite: ^2.4.1
stack_trace: ^1.12.0
theme_provider: 0.6.0
unicons: 3.0.0
url_launcher: 6.3.0
url_launcher: ^6.3.1

dev_dependencies:
build_runner: 2.4.13
build_runner: ^2.4.14
faker: 2.2.0
flutter_launcher_icons: 0.14.1
flutter_lints: 4.0.0
flutter_launcher_icons: ^0.14.2
flutter_lints: ^5.0.0
flutter_test:
sdk: flutter
hive_generator: 2.0.1
injectable_generator: 2.6.2
integration_test:
sdk: flutter
json_serializable: 6.8.0
mockito: 5.4.4
json_serializable: ^6.9.0
mockito: ^5.4.5

flutter_native_splash:
image: assets/img/icon_launcher.png
Expand Down

0 comments on commit 4dae102

Please sign in to comment.