mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-21 12:21:31 +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"
|
||||
|
||||
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