diff options
author | João Ferreiro <ferreiro@pinkroom.dev> | 2022-12-14 17:53:26 +0000 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2022-12-19 19:20:44 -0600 |
commit | 70f4debc0b27cc5245cceaede2a50ec03c1d67d5 (patch) | |
tree | b5c00dbc38c47f67f33456cd06713ef7d349155f /src/view/shell/mobile/Composer.tsx | |
parent | 0a3e7e63b261e2df3b4832cff9e73afd90dc0d84 (diff) | |
download | voidsky-70f4debc0b27cc5245cceaede2a50ec03c1d67d5.tar.zst |
initial android fixes
Diffstat (limited to 'src/view/shell/mobile/Composer.tsx')
-rw-r--r-- | src/view/shell/mobile/Composer.tsx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/view/shell/mobile/Composer.tsx b/src/view/shell/mobile/Composer.tsx index d72311ea9..c586bc871 100644 --- a/src/view/shell/mobile/Composer.tsx +++ b/src/view/shell/mobile/Composer.tsx @@ -1,6 +1,6 @@ import React, {useEffect} from 'react' import {observer} from 'mobx-react-lite' -import {Animated, Easing, StyleSheet, View} from 'react-native' +import {Animated, Easing, Platform, StyleSheet, View} from 'react-native' import {ComposePost} from '../../com/composer/ComposePost' import {ComposerOpts} from '../../../state/models/shell-ui' import {useAnimatedValue} from '../../lib/useAnimatedValue' @@ -69,6 +69,10 @@ const styles = StyleSheet.create({ bottom: 0, width: '100%', backgroundColor: '#fff', - paddingTop: 24, + ...Platform.select({ + ios: { + paddingTop: 24, + }, + }), }, }) |