fix: make UNVERSIONED insufficient expo version

This commit is contained in:
osdnk
2020-01-27 18:01:35 +01:00
parent 9bfb295620
commit a6f58677dc

View File

@@ -44,7 +44,7 @@ const maybeExpoVersion = global.Expo?.Constants.manifest.sdkVersion.split(
)[0];
const isInsufficientExpoVersion = maybeExpoVersion
? Number(maybeExpoVersion) <= 36
: false;
: maybeExpoVersion === 'UNVERSIONED';
type Props = {
mode: StackCardMode;