summaryrefslogtreecommitdiffhomepage
path: root/android/app/src/main
diff options
context:
space:
mode:
authorAlbin <albin@mullvad.net>2022-05-20 14:26:22 +0200
committerAlbin <albin@mullvad.net>2022-05-20 14:37:50 +0200
commit1080dabd122d9a67f5ef5260c7731639a0535646 (patch)
treea0146b7d4cb095a8dde8c3ad7b022de52be5c8eb /android/app/src/main
parent9d2ceab94ce1e67140bfc4e34bf5ca9d980304d5 (diff)
downloadmullvadvpn-1080dabd122d9a67f5ef5260c7731639a0535646.tar.xz
mullvadvpn-1080dabd122d9a67f5ef5260c7731639a0535646.zip
Rename Android UI DI module
Rename the UI specific DI module to avoid potential confusion with the Application class.
Diffstat (limited to 'android/app/src/main')
-rw-r--r--android/app/src/main/kotlin/net/mullvad/mullvadvpn/di/UiModule.kt (renamed from android/app/src/main/kotlin/net/mullvad/mullvadvpn/di/AppModule.kt)2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/app/src/main/kotlin/net/mullvad/mullvadvpn/di/AppModule.kt b/android/app/src/main/kotlin/net/mullvad/mullvadvpn/di/UiModule.kt
index 5d576f0f0c..17cfd3c922 100644
--- a/android/app/src/main/kotlin/net/mullvad/mullvadvpn/di/AppModule.kt
+++ b/android/app/src/main/kotlin/net/mullvad/mullvadvpn/di/UiModule.kt
@@ -14,7 +14,7 @@ import org.koin.core.qualifier.named
import org.koin.dsl.module
import org.koin.dsl.onClose
-val appModule = module {
+val uiModule = module {
single<PackageManager> { androidContext().packageManager }
single<String>(named(SELF_PACKAGE_NAME)) { androidContext().packageName }