Skip to content

Commit

Permalink
Update app data database version to 10, app version to 2.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
syt0r committed May 27, 2024
1 parent 3774349 commit b8fa4be
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 4 deletions.
4 changes: 2 additions & 2 deletions buildSrc/src/main/kotlin/AppVersion.kt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
object AppVersion {

const val versionCode = 2040
const val versionCode = 2050

const val versionName = "2.0.4"
const val versionName = "2.0.5"

// Requires 3 numbers
const val desktopAppVersion = versionName
Expand Down
4 changes: 2 additions & 2 deletions buildSrc/src/main/kotlin/PrepareKanjiDojoAssetsTask.kt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ data class KanjiDojoAssetLocation(
open class PrepareKanjiDojoAssetsTask : DefaultTask() {

companion object {
const val AppDataDatabaseVersion = 9
const val AppDataDatabaseVersion = 10
const val AppDataAssetFileName = "kanji-dojo-data-base-v$AppDataDatabaseVersion.sql"
const val KanaVoice1AndroidFileName = "ja-JP-Neural2-B.opus"
const val KanaVoice1JvmFileName = "ja-JP-Neural2-B.wav"
Expand All @@ -26,7 +26,7 @@ open class PrepareKanjiDojoAssetsTask : DefaultTask() {
expectedAssets = listOf(
Asset(
fileName = AppDataAssetFileName,
url = "https://github.com/syt0r/Kanji-Dojo-Data/releases/download/v9.0/kanji-dojo-data-base-v9.sql"
url = "https://github.com/syt0r/Kanji-Dojo-Data/releases/download/v10.0/kanji-dojo-data-base-v10.sql"
)
)
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,17 @@ fun VersionChangeDialog(
LazyColumn(
modifier = Modifier.weight(1f).fillMaxWidth()
) {
version("2.0.5", LocalDate(2024, 5, 28)) {
append(
"""
- Added vocab practice, only predefined decks and reading picker mode for now
- Clickable radicals on kanji details screen
- Small updated to expressions ranking and reading priorities
- Fix kana sound autoplay not saved on reading practice
- Fix crash when pressing buttons on writing practice screen during animation
""".trimIndent()
)
}
version("2.0.4", LocalDate(2024, 5, 3)) {
append(
"""
Expand Down
5 changes: 5 additions & 0 deletions fastlane/metadata/android/en-US/changelog/2050.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
- Added vocab practice, only predefined decks and reading picker mode for now
- Clickable radicals on kanji details screen
- Small updated to expressions ranking and reading priorities
- Fix kana sound autoplay not saved on reading practice
- Fix crash when pressing buttons on writing practice screen during animation

0 comments on commit b8fa4be

Please sign in to comment.