mirror of
https://github.com/ecency/ecency-mobile.git
synced 2025-01-03 03:25:24 +03:00
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:
commit
4b2da19a7e
@ -1,5 +1,9 @@
|
|||||||
import { Platform } from "react-native"
|
import { Platform } from "react-native"
|
||||||
|
|
||||||
export default () => {
|
export default () => {
|
||||||
return Platform.OS === 'android' && Platform.Version === 26
|
return Platform.OS === 'android'
|
||||||
|
&& (
|
||||||
|
Platform.Version === 26
|
||||||
|
|| Platform.Version === 27
|
||||||
|
)
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user