Skip to content

Commit d94fbc8

Browse files
committed
fix: else clause breaking detection logic
1 parent 24b5119 commit d94fbc8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • android/src/main/java/com/orientationdirector/implementation

android/src/main/java/com/orientationdirector/implementation/Utils.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class Utils(private val context: ReactContext) {
6060
// Landscape right
6161
isValueCloseTo(roll, 90f, 45f) -> Orientation.LANDSCAPE_RIGHT
6262

63-
else -> Orientation.PORTRAIT
63+
else -> Orientation.UNKNOWN
6464
}
6565
}
6666

0 commit comments

Comments
 (0)