mirror of
https://gitlab.com/foxixus/neomovies_mobile.git
synced 2025-10-27 19:58:50 +05:00
Fix build errors: resolve auto_route_generator version and syntax issues
- Fix auto_route_generator version from 8.3.0 to 8.0.0 to resolve dependency conflict - Remove extra closing brace in torrent_platform_service.dart - Temporarily fix VideoPlayerScreen parameter mismatch in movie_detail_screen.dart - Web build now compiles successfully
This commit is contained in:
@@ -594,4 +594,3 @@ class TorrentPlatformService {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -63,13 +63,11 @@ class _MovieDetailScreenState extends State<MovieDetailScreen> {
|
||||
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),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user