Skip to content

Commit

Permalink
chore: remove layout from rnfit.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
lancesnider committed Nov 5, 2024
1 parent a6c4506 commit f99a255
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ dependencies {
implementation 'androidx.core:core-ktx:1.12.0'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.1'
implementation 'app.rive:rive-android:9.9.5'
implementation 'app.rive:rive-android:9.10.0'
implementation "androidx.startup:startup-runtime:1.1.1"
implementation 'com.android.volley:volley:1.2.0'
}
2 changes: 0 additions & 2 deletions android/src/main/java/com/rivereactnative/RNFit.kt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import app.rive.runtime.kotlin.core.Fit

enum class RNFit(private val mValue: String) {
Cover("cover"),
layout("layout"),
Contain("contain"),
Fill("fill"),
FitWidth("fitWidth"),
Expand All @@ -25,7 +24,6 @@ enum class RNFit(private val mValue: String) {
fun mapToRiveFit(rnFit: RNFit): Fit {
return when (rnFit) {
Cover -> Fit.COVER
Layout -> Fit.LAYOUT
Contain -> Fit.CONTAIN
Fill -> Fit.FILL
FitWidth -> Fit.FIT_WIDTH
Expand Down
4 changes: 2 additions & 2 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ PODS:
- React-jsi (= 0.72.7)
- React-logger (= 0.72.7)
- React-perflogger (= 0.72.7)
- rive-react-native (8.0.0):
- rive-react-native (8.1.0):
- React-Core
- RiveRuntime (= 6.3.1)
- RiveRuntime (6.3.1)
Expand Down Expand Up @@ -744,7 +744,7 @@ SPEC CHECKSUMS:
React-runtimescheduler: 7649c3b46c8dee1853691ecf60146a16ae59253c
React-utils: 56838edeaaf651220d1e53cd0b8934fb8ce68415
ReactCommon: 5f704096ccf7733b390f59043b6fa9cc180ee4f6
rive-react-native: f73f70e67c53ba2d755b20f7350378fcdf2620b6
rive-react-native: 5b6a5d91c93135f980c42addfc3c4e09b2477ed1
RiveRuntime: 6c8d8553ba11599f7336a7c1be835a4584606678
RNCMaskedView: 949696f25ec596bfc697fc88e6f95cf0c79669b6
RNCPicker: 0991c56da7815c0cf946d6f63cf920b25296e5f6
Expand Down

0 comments on commit f99a255

Please sign in to comment.