Skip to content

Commit 0646967

Browse files
committed
Cleanup
1 parent afc4c1e commit 0646967

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

android/src/main/java/com/swmansion/rnscreens/bottomsheet/BottomSheetTransitionCoordinator.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ class BottomSheetTransitionCoordinator {
103103
) {
104104
// Reconfigure BottomSheetBehavior with the same state and updated maxHeight.
105105
// When insets are available, we can factor them in to update the maximum height accordingly.
106-
107106
sheetDelegate.updateBottomSheetMetrics(screen.sheetBehavior!!)
108107

109108
screen.container?.let { container ->

android/src/main/java/com/swmansion/rnscreens/bottomsheet/BottomSheetWindowInsetListenerChain.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ class BottomSheetWindowInsetListenerChain : OnApplyWindowInsetsListener {
3232

3333
return currentInsets
3434
}
35-
}
35+
}

android/src/main/java/com/swmansion/rnscreens/bottomsheet/SheetDelegate.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ class SheetDelegate(
3333
) : LifecycleEventObserver,
3434
OnApplyWindowInsetsListener {
3535
private var isKeyboardVisible: Boolean = false
36-
var keyboardState: KeyboardState = KeyboardNotVisible
37-
private set
36+
private var keyboardState: KeyboardState = KeyboardNotVisible
3837

3938
private var isSheetAnimationInProgress: Boolean = false
4039

0 commit comments

Comments
 (0)