Skip to content

Commit

Permalink
Merge pull request #93 from Tinkoff/2.5.8
Browse files Browse the repository at this point in the history
Fixed FPS bank selection dialog
  • Loading branch information
IlnarH authored Jun 9, 2022
2 parents ba29900 + b969882 commit 7b7c078
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
7 changes: 7 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 2.5.8

#### Fixed
Fixed FPS bank selection dialog
#### Changes
#### Additions

## 2.5.7

#### Fixed
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION_NAME=2.5.7
VERSION_NAME=2.5.8
VERSION_CODE=15
GROUP=ru.tinkoff.acquiring

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ class FeaturesOptions() : Options(), Parcelable {
handleCardListErrorInSdk = readByte().toInt() != 0
darkThemeMode = DarkThemeMode.valueOf(readString() ?: DarkThemeMode.AUTO.name)
fpsEnabled = readByte().toInt() != 0
tinkoffPayEnabled = readByte().toInt() != 0
selectedCardId = readString()
handleErrorsInSdk = readByte().toInt() != 0
emailRequired = readByte().toInt() != 0
Expand All @@ -147,6 +148,7 @@ class FeaturesOptions() : Options(), Parcelable {
writeByte((if (handleCardListErrorInSdk) 1 else 0).toByte())
writeString(darkThemeMode.name)
writeByte((if (fpsEnabled) 1 else 0).toByte())
writeByte((if (tinkoffPayEnabled) 1 else 0).toByte())
writeString(selectedCardId)
writeByte((if (handleErrorsInSdk) 1 else 0).toByte())
writeByte((if (emailRequired) 1 else 0).toByte())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -385,10 +385,7 @@ internal class BottomContainer @JvmOverloads constructor(
}

private fun getChildHeight(): Int {
val widthSpec = MeasureSpec.makeMeasureSpec(width, MeasureSpec.AT_MOST)
val child = getChildAt(0)
child.measure(widthSpec, MeasureSpec.UNSPECIFIED)
return child.measuredHeight
return getChildAt(0).height
}

private fun getPositionInParent(child: View?): IntArray {
Expand Down

0 comments on commit 7b7c078

Please sign in to comment.