Skip to content

Commit b6a27da

Browse files
authored
fix(android): portrait falsy report when degrees don't match clauses (#96)
1 parent 24b5119 commit b6a27da

File tree

1 file changed

+1
-1
lines changed
  • android/src/main/java/com/orientationdirector/implementation

1 file changed

+1
-1
lines changed

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)