Skip to content

Commit 06db118

Browse files
committed
v.5.2.3
1 parent 85c29da commit 06db118

3 files changed

Lines changed: 9 additions & 5 deletions

File tree

app/src/main/kotlin/com/goodwy/contacts/activities/MainActivity.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -604,9 +604,9 @@ class MainActivity : SimpleActivity(), RefreshContactsListener {
604604
this.scrollingView = scrollingView
605605
this.mySearchMenu = searchMenu
606606
if (scrollingView is RecyclerView) {
607-
scrollingView.setOnScrollChangeListener { v, scrollX, scrollY, oldScrollX, oldScrollY ->
607+
scrollingView.setOnScrollChangeListener { _, _, _, _, _ ->
608608
val newScrollY = scrollingView.computeVerticalScrollOffset()
609-
scrollingChanged(newScrollY)
609+
if (newScrollY == 0 || currentOldScrollY == 0) scrollingChanged(newScrollY)
610610
currentScrollY = newScrollY
611611
currentOldScrollY = currentScrollY
612612
}
@@ -816,6 +816,7 @@ class MainActivity : SimpleActivity(), RefreshContactsListener {
816816
add(Release(520, R.string.release_520))
817817
add(Release(521, R.string.release_521))
818818
add(Release(522, R.string.release_522))
819+
add(Release(523, R.string.release_523))
819820
checkWhatsNew(this, BuildConfig.VERSION_CODE)
820821
}
821822
}

app/src/main/res/values/donottranslate.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
<string name="viber" translatable="false">Viber</string>
1717

1818
<!-- Release notes -->
19+
<string name="release_523">
20+
Fixed bugs
21+
</string>
1922
<string name="release_522">
2023
Changed haptic feedback behavior when swiping\n
2124
Fixed bugs, improved stability

gradle/libs.versions.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ room = "2.6.1"
1616
#Gradle
1717
gradlePlugins-agp = "8.2.1"
1818
#Goodwy
19-
right-commons = "fca0639444"
19+
right-commons = "fa3f7b1710"
2020
rustore = "5.1.1"
2121
behavioRule = "1.0.1"
2222
rxAnimation = "2.1.1"
@@ -31,8 +31,8 @@ app-build-javaVersion = "VERSION_17"
3131
app-build-kotlinJVMTarget = "17"
3232
#versioning
3333
app-version-appId = "com.goodwy.contacts"
34-
app-version-versionCode = "522"
35-
app-version-versionName = "5.2.2"
34+
app-version-versionCode = "523"
35+
app-version-versionName = "5.2.3"
3636
[libraries]
3737
#AndroidX
3838
androidx-swiperefreshlayout = { module = "androidx.swiperefreshlayout:swiperefreshlayout", version.ref = "androidx-swiperefreshlayout" }

0 commit comments

Comments
 (0)