~repos /only-bible-app
git clone https://pyrossh.dev/repos/only-bible-app.git
The only bible app you will ever need. No ads. No in-app purchases. No distractions.
dda8aac0
—
pyrossh 1 year ago
fix resources pkg name
composeApp/build.gradle.kts
CHANGED
|
@@ -131,6 +131,12 @@ android {
|
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
+
compose.resources {
|
|
135
|
+
publicResClass = true
|
|
136
|
+
packageOfResClass = "${pkgName}.resources"
|
|
137
|
+
generateResClass = auto
|
|
138
|
+
}
|
|
139
|
+
|
|
134
140
|
@Suppress("TooGenericExceptionCaught")
|
|
135
141
|
configure<BuildKonfigExtension> {
|
|
136
142
|
packageName = "${pkgName}.config"
|
composeApp/src/commonMain/kotlin/dev/pyrossh/only_bible_app/AppViewModel.kt
CHANGED
|
@@ -10,7 +10,7 @@ import com.russhwolf.settings.Settings
|
|
|
10
10
|
import dev.pyrossh.only_bible_app.domain.Bible
|
|
11
11
|
import dev.pyrossh.only_bible_app.domain.Verse
|
|
12
12
|
import dev.pyrossh.only_bible_app.domain.bibles
|
|
13
|
-
import
|
|
13
|
+
import dev.pyrossh.only_bible_app.resources.Res
|
|
14
14
|
import kotlinx.coroutines.Dispatchers
|
|
15
15
|
import kotlinx.coroutines.FlowPreview
|
|
16
16
|
import kotlinx.coroutines.IO
|
|
@@ -22,7 +22,6 @@ import kotlinx.coroutines.flow.debounce
|
|
|
22
22
|
import kotlinx.coroutines.flow.stateIn
|
|
23
23
|
import kotlinx.coroutines.launch
|
|
24
24
|
import kotlinx.serialization.json.Json
|
|
25
|
-
import kotlinx.serialization.json.JsonElement
|
|
26
25
|
import kotlinx.serialization.json.JsonObject
|
|
27
26
|
import kotlinx.serialization.json.JsonPrimitive
|
|
28
27
|
import kotlinx.serialization.json.int
|
settings.gradle.kts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
rootProject.name = "
|
|
1
|
+
rootProject.name = "only_bible_app"
|
|
2
2
|
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
|
|
3
3
|
|
|
4
4
|
pluginManagement {
|