Skip to content

Commit

Permalink
Bump to 0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bingzheung committed Jul 1, 2024
1 parent 226c7c3 commit 1efba66
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ android {
applicationId = "org.jyutping.jyutping"
minSdk = 33
targetSdk = 34
versionCode = 4
versionName = "0.4.0"
versionCode = 5
versionName = "0.5.0"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ class JyutpingInputMethodService: LifecycleInputMethodService(),

val keyboardForm: MutableState<KeyboardForm> = mutableStateOf(KeyboardForm.Alphabetic)
fun transformTo(destination: KeyboardForm) {
if (isBuffering.value) {
bufferText = ""
}
keyboardForm.value = destination
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ fun CandidateScrollBar(modifier: Modifier) {
.clickable(interactionSource = interactionSource, indication = null) {
context.select(it)
}
.padding(horizontal = 4.dp)
.padding(horizontal = 6.dp)
.padding(bottom = 8.dp)
)
}
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/java/org/jyutping/jyutping/ui/home/HomeScreen.kt
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ fun HomeScreen(navController: NavHostController) {
GwongWanView(gwongWanEntries.value)
}
}
/*
item {
TextCard(
heading = stringResource(id = R.string.home_heading_tone_input),
Expand Down Expand Up @@ -164,6 +165,7 @@ fun HomeScreen(navController: NavHostController) {
}
}
}
*/
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ object DatabasePreparer {
"appdb-v0.2.0-tmp.sqlite3-journal",
"appdb-v0.3.0-tmp.sqlite3",
"appdb-v0.3.0-tmp.sqlite3-journal",
"appdb-v0.4.0-tmp.sqlite3",
"appdb-v0.4.0-tmp.sqlite3-journal",
)
val databaseName: String = run {
val version = BuildConfig.VERSION_NAME
Expand Down

0 comments on commit 1efba66

Please sign in to comment.