Conversation
# Conflicts: # app/app/src/main/kotlin/com/hedvig/android/app/navigation/HedvigNavHost.kt # app/feature/feature-home/src/main/kotlin/com/hedvig/android/feature/home/home/ui/HomePresenter.kt
...d/src/main/kotlin/com/hedvig/android/feature/chip/id/data/GetPetContractsForChipIdUseCase.kt
Outdated
Show resolved
Hide resolved
| val digitsOnlyTransformation = InputTransformation.byValue { _, proposed -> | ||
| proposed.filter { it.isDigit() } | ||
| } |
There was a problem hiding this comment.
Do you think it would be worth it for us to create a DigitsOnly InputTransformation just like some exist in the library itself https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/input/InputTransformation.kt;l=213-227?q=MaxLengthFilter which would also determine the KeyboardType.Number inside there so wherever we use it it's already properly preconfigured?
And have it live in design-system perhaps
There was a problem hiding this comment.
I went with another transformation in the end, the visual mask like we do for ssn input:)
.../feature-chip-id/src/main/kotlin/com/hedvig/android/feature/chip/id/ui/AddChipIdViewModel.kt
Outdated
Show resolved
Hide resolved
...ure/feature-chip-id/src/main/kotlin/com/hedvig/android/feature/chip/id/ui/AddChipIdScreen.kt
Show resolved
Hide resolved
| <issue | ||
| id="UnknownIssueId" | ||
| message="Unknown issue id "androidx.media3.common.util.UnstableApi""> | ||
| <location | ||
| file="build.gradle.kts"/> | ||
| </issue> |
There was a problem hiding this comment.
I really wonder why this is messed up as it is here 🙈😭
# Conflicts: # app/core/core-resources/src/androidMain/res/values-sv-rSE/strings.xml # app/core/core-resources/src/androidMain/res/values/strings.xml # app/core/core-resources/src/commonMain/composeResources/values-sv-rSE/strings.xml # app/core/core-resources/src/commonMain/composeResources/values/strings.xml
Uh oh!
There was an error while loading. Please reload this page.