mirror of
https://github.com/R0m1k3/xtremflow.git
synced 2026-10-24 07:28:05 +02:00
feat: introduce XtreamService for Xtream API communication, content retrieval, and stream URL generation with caching and proxy support.
This commit is contained in:
1 parent
9755f51af5
commit
887b44b29d
1 file changed
+3
-4
@@ -110,8 +110,7 @@ class PlaylistSelectionScreen extends ConsumerWidget {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
// Content
|
// Content
|
||||||
SingleChildScrollView(
|
playlistsAsync.when(
|
||||||
child: playlistsAsync.when(
|
|
||||||
loading: () => const Center(
|
loading: () => const Center(
|
||||||
child: CircularProgressIndicator(color: AppColors.primary),
|
child: CircularProgressIndicator(color: AppColors.primary),
|
||||||
),
|
),
|
||||||
@@ -196,7 +195,8 @@ class PlaylistSelectionScreen extends ConsumerWidget {
|
|||||||
playlist: playlist,
|
playlist: playlist,
|
||||||
onTap: () {
|
onTap: () {
|
||||||
// Update current selected playlist provider first
|
// Update current selected playlist provider first
|
||||||
ref.read(selectedPlaylistProvider.notifier).state = playlist;
|
ref.read(selectedPlaylistProvider.notifier).state =
|
||||||
|
playlist;
|
||||||
// Then navigate to dashboard
|
// Then navigate to dashboard
|
||||||
context.go('/dashboard');
|
context.go('/dashboard');
|
||||||
},
|
},
|
||||||
@@ -205,7 +205,6 @@ class PlaylistSelectionScreen extends ConsumerWidget {
|
|||||||
);
|
);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in new issue
Block a user