Skip to content

Commit 8ea66af

Browse files
committed
[fix] biometric setup screen closes #37
1 parent 37a8225 commit 8ea66af

6 files changed

Lines changed: 20 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313
- Sentry
1414
- function to generate android version code
1515

16+
## [v1.0.2-alpha] - 2021-07-18
17+
### Fixed
18+
- Fix screen padding issues
19+
- Fix biometric setup screen decline action
20+
21+
### Added
22+
- Enabled "enableResourceOptimizations" gradle option

androidApp/proguard-rules.pro

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
# Uncomment this to preserve the line number information for
1818
# debugging stack traces.
1919
-keepattributes SourceFile,LineNumberTable
20-
20+
-keepattributes LocalVariableTable, LocalVariableTypeTable
2121
# If you keep the line number information, uncomment this to
2222
# hide the original source file name.
2323
-renamesourcefileattribute SourceFile
24-
24+
-optimizations !method/removal/parameter
2525
# Repackage classes into the top-level.
2626
-repackageclasses
2727
-keep class * implements android.os.Parcelable {
@@ -53,3 +53,5 @@
5353
-keepclassmembernames class kotlinx.** {
5454
volatile <fields>;
5555
}
56+
-keepnames class okhttp3.internal.publicsuffix.PublicSuffixDatabase
57+
-keepnames class * extends okhttp3.Interceptor { *; }

androidApp/src/main/kotlin/tech/alexib/yaba/android/ui/auth/biometric/BiometricSetupScreen.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ private fun BiometricSetupScreen(
136136
actioner(BiometricSetupScreenAction.PromptSetup)
137137
}
138138
NotNowButton {
139-
actioner(BiometricSetupScreenAction.PromptSetup)
139+
actioner(BiometricSetupScreenAction.Decline)
140140
}
141141
}
142142
}

androidApp/src/main/kotlin/tech/alexib/yaba/android/ui/home/Home.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,10 @@ private fun Home(
133133
}
134134
}
135135

136-
SlideInContent(visible = state.currentCashBalance != null && state.userItemCount != 0L) {
136+
SlideInContent(
137+
visible = state.currentCashBalance != null &&
138+
state.userItemCount != 0L
139+
) {
137140
TotalCashBalanceRow(state.currentCashBalance)
138141
AddSpace()
139142
}

buildSrc/buildSrc/src/main/kotlin/AndroidConfig.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
object AndroidConfig {
1919
private const val versionMajor = 1
2020
private const val versionMinor = 0
21-
private const val versionPatch = 1
21+
private const val versionPatch = 2
2222
const val minSdk = 29
2323
const val targetSdk = 30
2424
val versionCode = generateVersionCode()

gradle.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ kotlin.code.style=official
66

77
#Android
88
android.useAndroidX=true
9+
#breaks PlaidLink
10+
#android.enableR8.fullMode=true
11+
android.enableResourceOptimizations=true
912

1013
org.gradle.parallel=true
1114
org.gradle.caching=true

0 commit comments

Comments
 (0)