base updater classes
This commit is contained in:
@@ -28,7 +28,7 @@ dependencies {
|
||||
implementation(project(":libs:http-client"))
|
||||
implementation(project(":libs:video-player"))
|
||||
debugImplementation(libs.ui.tooling)
|
||||
compileOnly(libs.ui.tooling.preview.android)
|
||||
implementation(libs.ui.tooling.preview)
|
||||
testImplementation(libs.koin.test)
|
||||
testImplementation(libs.mockk)
|
||||
testImplementation(kotlin("test-junit"))
|
||||
|
||||
+4
-1
@@ -28,7 +28,10 @@ class AppModule {
|
||||
@Single
|
||||
fun provideAppConfig(): AppConfig {
|
||||
return object : AppConfig {
|
||||
override fun isDebug(): Boolean = BuildConfig.DEBUG
|
||||
override val debug = BuildConfig.DEBUG
|
||||
override val appId = "VBox"
|
||||
override val versionCode = BuildConfig.VERSION_CODE.toLong()
|
||||
override val versionName = BuildConfig.VERSION_NAME
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -44,7 +44,8 @@ class AppModule {
|
||||
@Single
|
||||
fun provideAppConfig(): AppConfig {
|
||||
return object : AppConfig {
|
||||
override fun isDebug(): Boolean = false
|
||||
override val appId = "VboxWeb"
|
||||
override val debug = false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user