Merge pull request #2438 from ecency/nt/is-android-oreo

updated is android Oreo method to also consider 8.1
This commit is contained in:
Feruz M 2022-08-30 10:49:20 +03:00 committed by GitHub
commit 4b2da19a7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,9 @@
import { Platform } from "react-native"
export default () => {
return Platform.OS === 'android' && Platform.Version === 26
return Platform.OS === 'android'
&& (
Platform.Version === 26
|| Platform.Version === 27
)
}