Fix page margin

This commit is contained in:
Zhiyuan Zheng 2021-12-31 12:29:41 +01:00
parent b3a3c67775
commit b08e24e233
1 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,7 @@ import accountInitialState from '@screens/Tabs/Shared/Account/utils/initialState
import accountReducer from '@screens/Tabs/Shared/Account/utils/reducer'
import { useProfileQuery } from '@utils/queryHooks/profile'
import { getInstanceActive } from '@utils/slices/instancesSlice'
import { StyleConstants } from '@utils/styles/constants'
import React, { useReducer, useRef } from 'react'
import Animated, {
useAnimatedScrollHandler,
@ -49,6 +50,7 @@ const TabMeRoot: React.FC = () => {
keyboardShouldPersistTaps='handled'
onScroll={onScroll}
scrollEventThrottle={16}
style={{ marginBottom: StyleConstants.Spacing.L }}
>
{instanceActive !== -1 ? (
<MyInfo account={data} />