diff --git a/lib/data/services/torrent_platform_service.dart b/lib/data/services/torrent_platform_service.dart index a70d1f2..1230744 100644 --- a/lib/data/services/torrent_platform_service.dart +++ b/lib/data/services/torrent_platform_service.dart @@ -594,4 +594,3 @@ class TorrentPlatformService { } } } -} diff --git a/lib/presentation/screens/movie_detail/movie_detail_screen.dart b/lib/presentation/screens/movie_detail/movie_detail_screen.dart index 3a602f1..890694d 100644 --- a/lib/presentation/screens/movie_detail/movie_detail_screen.dart +++ b/lib/presentation/screens/movie_detail/movie_detail_screen.dart @@ -63,13 +63,11 @@ class _MovieDetailScreenState extends State { return; } - Navigator.of(context).push( - MaterialPageRoute( - builder: (context) => VideoPlayerScreen( - mediaId: imdbId, - mediaType: widget.mediaType, - title: title, - ), + // TODO: Implement proper player navigation with mediaId + ScaffoldMessenger.of(context).showSnackBar( + SnackBar( + content: Text('Player feature will be implemented. Media ID: $imdbId'), + duration: Duration(seconds: 2), ), ); } diff --git a/pubspec.yaml b/pubspec.yaml index c10dd5b..ccd6af9 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -67,7 +67,7 @@ dev_dependencies: freezed: ^2.4.5 json_serializable: ^6.7.1 hive_generator: ^2.0.1 - auto_route_generator: ^8.3.0 + auto_route_generator: ^8.0.0 flutter_test: sdk: flutter flutter_lints: ^5.0.0