This commit is contained in:
Kieran BW 2022-01-27 21:26:44 +00:00
parent 2e5df7e1b7
commit 00b2bbfe9f
4 changed files with 5 additions and 4 deletions

View File

@ -7,7 +7,7 @@ patch-level version changes can be found in [commit messages](../../commits/mast
## Next_Ver - 2022/xx/xx ## Next_Ver - 2022/xx/xx
--> -->
## 20220127 - 2022/01/27 ## 20220128 - 2022/01/28
- Highlight the selected tab. https://github.com/FredHappyface/Android.EweSticker/issues/29 - Highlight the selected tab. https://github.com/FredHappyface/Android.EweSticker/issues/29
- Add support for video formats https://github.com/FredHappyface/Android.EweSticker/issues/34 - Add support for video formats https://github.com/FredHappyface/Android.EweSticker/issues/34

View File

@ -11,8 +11,8 @@ android {
applicationId = "com.fredhappyface.ewesticker" applicationId = "com.fredhappyface.ewesticker"
minSdk = 26 minSdk = 26
targetSdk = 31 targetSdk = 31
versionCode = 20220127 versionCode = 20220128
versionName = "2022.01.27" versionName = "2022.01.28"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
setProperty("archivesBaseName", "$applicationId-$versionName") setProperty("archivesBaseName", "$applicationId-$versionName")
} }
@ -39,7 +39,7 @@ dependencies {
implementation("androidx.core:core-ktx:1.7.0") implementation("androidx.core:core-ktx:1.7.0")
implementation("androidx.appcompat:appcompat:1.4.1") implementation("androidx.appcompat:appcompat:1.4.1")
implementation("com.google.android.material:material:1.5.0") implementation("com.google.android.material:material:1.5.0")
implementation("androidx.preference:preference-ktx:1.1.1") implementation("androidx.preference:preference-ktx:1.2.0")
implementation("io.coil-kt:coil:1.4.0") implementation("io.coil-kt:coil:1.4.0")
implementation("io.coil-kt:coil-gif:1.4.0") implementation("io.coil-kt:coil-gif:1.4.0")
implementation("io.coil-kt:coil-video:1.4.0") implementation("io.coil-kt:coil-video:1.4.0")

View File

@ -432,6 +432,7 @@ class ImageKeyboard : InputMethodService() {
} }
if (sortedPackNames.isNotEmpty()) { if (sortedPackNames.isNotEmpty()) {
when (this.activePack) { when (this.activePack) {
"__recentSticker__" -> switchPackLayout(this.activePack)
in sortedPackNames -> switchPackLayout(this.activePack) in sortedPackNames -> switchPackLayout(this.activePack)
else -> switchPackLayout(sortedPackNames[0]) else -> switchPackLayout(sortedPackNames[0])
} }