From 8b021356b84be91e3ad173071fadcc749887783a Mon Sep 17 00:00:00 2001 From: Arnaud Vergnet Date: Thu, 16 Apr 2020 18:54:57 +0200 Subject: [PATCH] Improved header safe bounce height --- App.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/App.js b/App.js index c56b066..4410610 100644 --- a/App.js +++ b/App.js @@ -16,6 +16,7 @@ import AprilFoolsManager from "./src/managers/AprilFoolsManager"; import Update from "./src/constants/Update"; import ConnectionManager from "./src/managers/ConnectionManager"; import URLHandler from "./src/utils/URLHandler"; +import {setSafeBounceHeight} from "react-navigation-collapsible"; type Props = {}; @@ -62,6 +63,7 @@ export default class App extends React.Component { this.defaultData = {}; this.urlHandler = new URLHandler(this.onInitialURLParsed, this.onDetectURL); this.urlHandler.listen(); + setSafeBounceHeight(Platform.OS === 'ios' ? 100 : 0); } onInitialURLParsed = ({route, data}: Object) => {