mirror of
https://github.com/R0m1k3/xtremflow.git
synced 2026-10-21 05:58:05 +02:00
feat: Add initial backend server with user authentication, session management, and playlist CRUD functionality.
This commit is contained in:
1 parent
a1ce183cd3
commit
ac4f274031
19 files changed
+1324
-75
No files matched your search
+2
-4
@@ -1,13 +1,11 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||
import 'core/database/hive_service.dart';
|
||||
import 'core/router/app_router.dart';
|
||||
|
||||
void main() async {
|
||||
WidgetsFlutterBinding.ensureInitialized();
|
||||
|
||||
// Initialize Hive database with encryption
|
||||
await HiveService.init();
|
||||
// Note: Hive is no longer needed for auth - using API backend now
|
||||
|
||||
runApp(const ProviderScope(child: MyApp()));
|
||||
}
|
||||
@@ -48,7 +46,7 @@ class MyApp extends ConsumerWidget {
|
||||
),
|
||||
),
|
||||
),
|
||||
themeMode: ThemeMode.dark, // Default to dark mode for IPTV
|
||||
themeMode: ThemeMode.system,
|
||||
routerConfig: router,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user