There was an error while loading. Please reload this page.
1 parent d771399 commit 085e765Copy full SHA for 085e765
1 file changed
shared/src/commonMain/kotlin/app/icampuspass/Koin.kt
@@ -21,20 +21,6 @@ val commonModule = module {
21
DatabaseHelper(driverFactory = get())
22
}
23
24
- single<UserAccountRepository> {
25
- UserAccountRepository().apply {
26
- init()
27
- }
28
29
-
30
- single<UserRepository> {
31
- UserRepository(
32
- greeting = get()
33
- ).apply {
34
35
36
37
38
single<Greeting> {
39
Greeting(platform = get())
40
@@ -61,6 +47,20 @@ val commonModule = module {
61
47
single<Platform> {
62
48
getPlatform()
63
49
50
+
51
+ single<UserAccountRepository> {
52
+ UserAccountRepository().apply {
53
+ init()
54
+ }
55
56
57
+ single<UserRepository> {
58
+ UserRepository(
59
+ greeting = get()
60
+ ).apply {
64
65
66
expect val platformModule: Module
0 commit comments