Skip to content

Commit

Permalink
Fix #350 Wrong code of Traditional Chinese
Browse files Browse the repository at this point in the history
  • Loading branch information
maxrave-dev committed Apr 20, 2024
1 parent 0d0c2d8 commit 273c65e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ android {
"in",
"ar",
"ja",
"zh-rTW",
"b+zh+Hant+TW",
)
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"

Expand Down Expand Up @@ -163,7 +163,7 @@ android {

dependencies {

implementation("androidx.wear.compose:compose-material3:1.0.0-alpha19")
implementation("androidx.wear.compose:compose-material3:1.0.0-alpha21")
//Compose
val composeBom = platform("androidx.compose:compose-bom:2024.02.02")
implementation(composeBom)
Expand All @@ -177,12 +177,12 @@ dependencies {

// Android Studio Preview support
implementation("androidx.compose.ui:ui-tooling-preview")
implementation("androidx.activity:activity-compose:1.8.2")
implementation("androidx.activity:activity-compose:1.9.0")
// Optional - Integration with ViewModels
implementation("androidx.lifecycle:lifecycle-viewmodel-compose:2.7.0")

implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.7.0")
implementation("androidx.core:core-ktx:1.12.0")
implementation("androidx.core:core-ktx:1.13.0")
implementation("androidx.appcompat:appcompat:1.6.1")

val work_version = "2.9.0"
Expand All @@ -196,11 +196,11 @@ dependencies {
implementation(project(mapOf("path" to ":kotlinYtmusicScraper")))
implementation("androidx.lifecycle:lifecycle-livedata-ktx:2.7.0")
implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:2.7.0")
debugImplementation("androidx.compose.ui:ui-tooling:1.6.4")
debugImplementation("androidx.compose.ui:ui-tooling-preview:1.6.4")
debugImplementation("androidx.compose.ui:ui-tooling:1.6.6")
debugImplementation("androidx.compose.ui:ui-tooling-preview:1.6.6")

//ExoPlayer
val media3_version = "1.3.0"
val media3_version = "1.3.1"

implementation("androidx.media3:media3-exoplayer:$media3_version")
implementation("androidx.media3:media3-ui:$media3_version")
Expand Down Expand Up @@ -259,7 +259,7 @@ dependencies {
ksp("com.google.dagger:hilt-compiler:2.50")
ksp("org.jetbrains.kotlinx:kotlinx-metadata-jvm:0.8.0")
//DataStore
implementation("androidx.datastore:datastore-preferences:1.0.0")
implementation("androidx.datastore:datastore-preferences:1.1.0")
//Swipe To Refresh
implementation("androidx.swiperefreshlayout:swiperefreshlayout:1.2.0-alpha01")
//Insetter
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/com/maxrave/simpmusic/common/Config.kt
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ object SUPPORTED_LANGUAGE {
"in-ID",
"ar-SA",
"ja-JP",
"zh-rTW",
"zh-Hant-TW",
)
}

Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/xml/locale_config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
<locale android:name="fr" />
<locale android:name="zh" />
<locale android:name="in" />
<locale android:name="zh-Hant" />
<locale android:name="zh-Hant-TW" />
</locale-config>

0 comments on commit 273c65e

Please sign in to comment.