mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2026-02-17 06:49:34 +00:00
更改播放逻辑
This commit is contained in:
parent
290b68336f
commit
420438c0df
29 changed files with 810 additions and 514 deletions
|
|
@ -8,8 +8,8 @@ import 'package:hooks_riverpod/hooks_riverpod.dart';
|
|||
import 'package:vaani/api/server_provider.dart';
|
||||
import 'package:vaani/db/storage.dart';
|
||||
import 'package:vaani/features/logging/core/logger.dart';
|
||||
import 'package:vaani/features/player/core/init.dart';
|
||||
import 'package:vaani/features/player/providers/abs_provider.dart';
|
||||
import 'package:vaani/features/player/providers/currently_playing_provider.dart';
|
||||
import 'package:vaani/features/settings/api_settings_provider.dart';
|
||||
import 'package:vaani/features/settings/app_settings_provider.dart';
|
||||
import 'package:vaani/framework.dart';
|
||||
|
|
@ -38,8 +38,7 @@ void main() async {
|
|||
|
||||
// initialize audio player
|
||||
// await configurePlayer();
|
||||
// await container.read(audioHandlerInitProvider.future);
|
||||
await container.read(absAudioHandlerInitProvider.future);
|
||||
await configurePlayer(container);
|
||||
// run the app
|
||||
runApp(
|
||||
UncontrolledProviderScope(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue