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:
Michael committed 2026-03-27 13:34:06 +01:00
1 parent f85f43e42f
commit e1a0802a0c
18 files changed
+1619 -574

No files matched your search

@@ -145,14 +145,24 @@ final mobileLiveTvUiStateProvider =
StateProvider<LiveTvUiState>((ref) => LiveTvUiState());
class LiveTvUiState {
final String? selectedCategory;
final String? selectedCategory; // category NAME (for display)
final String? selectedCategoryId; // category ID (for API calls)
final bool isCategoryView;
LiveTvUiState({this.selectedCategory, this.isCategoryView = true});
LiveTvUiState({
this.selectedCategory,
this.selectedCategoryId,
this.isCategoryView = true,
});
LiveTvUiState copyWith({String? selectedCategory, bool? isCategoryView}) {
LiveTvUiState copyWith({
String? selectedCategory,
String? selectedCategoryId,
bool? isCategoryView,
}) {
return LiveTvUiState(
selectedCategory: selectedCategory ?? this.selectedCategory,
selectedCategoryId: selectedCategoryId ?? this.selectedCategoryId,
isCategoryView: isCategoryView ?? this.isCategoryView,
);
}