Merge pull request #82 from R0m1k3/antigravity

feat: implement IPTV player screen with HLS streaming, playback contr…
This commit is contained in:
LogiFlow authored and GitHub committed 2025-12-07 16:52:17 +01:00
commit 47257d240c
1 file changed
+6 -6
+6 -6
View File
@@ -788,8 +788,8 @@ class _PlayerScreenState extends ConsumerState<PlayerScreen> {
// Play/Pause Button (Centered) // Play/Pause Button (Centered)
Positioned( Positioned(
top: 0, top: null, // Removed top: 0
bottom: 0, bottom: 150, // Moved lower
left: 0, left: 0,
right: 0, right: 0,
child: Center( child: Center(
@@ -798,7 +798,7 @@ class _PlayerScreenState extends ConsumerState<PlayerScreen> {
onTap: _togglePlayPause, onTap: _togglePlayPause,
borderRadius: BorderRadius.circular(50), borderRadius: BorderRadius.circular(50),
child: Container( child: Container(
padding: const EdgeInsets.all(12), padding: const EdgeInsets.all(10), // Reduced from 12
decoration: BoxDecoration( decoration: BoxDecoration(
color: Colors.black.withOpacity(0.5), color: Colors.black.withOpacity(0.5),
shape: BoxShape.circle, shape: BoxShape.circle,
@@ -807,7 +807,7 @@ class _PlayerScreenState extends ConsumerState<PlayerScreen> {
child: Icon( child: Icon(
_isPlaying ? Icons.pause : Icons.play_arrow, _isPlaying ? Icons.pause : Icons.play_arrow,
color: Colors.white, color: Colors.white,
size: 48, size: 40, // Reduced from 48
), ),
), ),
), ),
@@ -933,8 +933,8 @@ class _PlayerScreenState extends ConsumerState<PlayerScreen> {
AnimatedPositioned( AnimatedPositioned(
duration: const Duration(milliseconds: 300), duration: const Duration(milliseconds: 300),
curve: Curves.easeInOut, curve: Curves.easeInOut,
top: _showControls ? 80 : 24, top: 24, // Fixed top
right: 24, right: _showControls ? 80 : 24, // Shift left when settings visible
child: const IgnorePointer( child: const IgnorePointer(
child: ClockWidget( child: ClockWidget(
style: TextStyle( style: TextStyle(