mirror of
https://github.com/johrpan/musicus_mobile.git
synced 2025-10-26 10:47:25 +01:00
Move more code from mobile to common
This commit is contained in:
parent
2e4f69a178
commit
5312bad52d
28 changed files with 258 additions and 215 deletions
|
|
@ -4,7 +4,6 @@ import 'package:musicus_common/musicus_common.dart';
|
|||
import 'package:path/path.dart' as p;
|
||||
import 'package:path_provider/path_provider.dart' as pp;
|
||||
|
||||
import 'app.dart';
|
||||
import 'settings.dart';
|
||||
import 'platform.dart';
|
||||
import 'playback.dart';
|
||||
|
|
@ -16,12 +15,11 @@ Future<void> main() async {
|
|||
final dbPath = p.join(dir.path, 'db.sqlite');
|
||||
|
||||
runApp(AudioServiceWidget(
|
||||
child: MusicusBackend(
|
||||
child: MusicusApp(
|
||||
dbPath: dbPath,
|
||||
settingsStorage: SettingsStorage(),
|
||||
platform: MusicusAndroidPlatform(),
|
||||
playback: Playback(),
|
||||
child: App(),
|
||||
),
|
||||
));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue