From c500ecbbce19068122dc6a0fb8b718321ae8689f Mon Sep 17 00:00:00 2001 From: lucetius Date: Thu, 1 Mar 2018 16:02:04 +0100 Subject: [PATCH 1/2] Fix iPhone X course logo animation --- mobile/scenes/Home/Home.js | 1 + 1 file changed, 1 insertion(+) diff --git a/mobile/scenes/Home/Home.js b/mobile/scenes/Home/Home.js index 1a924105..d008494d 100644 --- a/mobile/scenes/Home/Home.js +++ b/mobile/scenes/Home/Home.js @@ -171,6 +171,7 @@ class Home extends React.Component { if (Platform.OS === 'ios' && this.height === 568) iPhoneOffset = 20 if (Platform.OS === 'ios' && this.height === 667) iPhoneOffset = 31 if (Platform.OS === 'ios' && this.height === 736) iPhoneOffset = 38.5 + if (Platform.OS === 'ios' && this.height === 812) iPhoneOffset = 98.5 const elementHeightChangeAfterScaling = (height - newSizeY) / 2 const translateYValue = this.height - pageYOffset - desiredElementTopYOffset - elementHeightChangeAfterScaling - iPhoneOffset From 040f1650bea91c7cb2ba641101b7a39a371ddf40 Mon Sep 17 00:00:00 2001 From: lucetius Date: Fri, 2 Mar 2018 17:43:54 +0100 Subject: [PATCH 2/2] Trigger CircleCI