mirror of
https://github.com/R0m1k3/xtremobile.git
synced 2026-10-23 15:18:15 +02:00
feat: Add mobile-specific Riverpod providers for Xtream service, live TV, movies, series, and EPG data, along with UI state management.
This commit is contained in:
1 parent
f85f43e42f
commit
e1a0802a0c
18 files changed
+1619
-574
No files matched your search
@@ -33,7 +33,7 @@ class _MobileDashboardScreenState extends ConsumerState<MobileDashboardScreen> {
|
||||
// This enables instant tab switching and preserves user scroll position, search state, etc.
|
||||
// The AutomaticKeepAliveClientMixin in each tab will keep them in the widget tree
|
||||
return Theme(
|
||||
data: MobileTheme.darkTheme,
|
||||
data: MobileTheme.themeOf(context),
|
||||
child: MobileScaffold(
|
||||
currentIndex: currentIndex,
|
||||
onIndexChanged: (index) {
|
||||
|
||||
@@ -388,14 +388,11 @@ class _MobilePlaylistScreenState extends ConsumerState<MobilePlaylistScreen> {
|
||||
final playlistsAsync = ref.watch(localPlaylistsProvider);
|
||||
|
||||
return Theme(
|
||||
data: MobileTheme.darkTheme,
|
||||
data: MobileTheme.themeOf(context),
|
||||
child: Scaffold(
|
||||
backgroundColor: AppColors.background,
|
||||
appBar: AppBar(
|
||||
title: const Text('XtremFlow'),
|
||||
centerTitle: true,
|
||||
backgroundColor: AppColors.background,
|
||||
elevation: 0,
|
||||
),
|
||||
body: playlistsAsync.when(
|
||||
loading: () => const Center(
|
||||
|
||||
@@ -203,7 +203,7 @@ class _MobilePlaylistSelectionScreenState
|
||||
final playlistsAsync = ref.watch(playlistsProvider);
|
||||
|
||||
return Theme(
|
||||
data: MobileTheme.darkTheme,
|
||||
data: MobileTheme.themeOf(context),
|
||||
child: Scaffold(
|
||||
extendBodyBehindAppBar: true, // For gradient
|
||||
appBar: AppBar(
|
||||
|
||||
Reference in new issue
Block a user