mirror of https://github.com/tooot-app/app
Fix me page padding issue
This commit is contained in:
parent
176a753875
commit
6e3f964b79
|
@ -11,7 +11,6 @@ import accountInitialState from '@screens/Tabs/Shared/Account/utils/initialState
|
||||||
import accountReducer from '@screens/Tabs/Shared/Account/utils/reducer'
|
import accountReducer from '@screens/Tabs/Shared/Account/utils/reducer'
|
||||||
import { useProfileQuery } from '@utils/queryHooks/profile'
|
import { useProfileQuery } from '@utils/queryHooks/profile'
|
||||||
import { getInstanceActive } from '@utils/slices/instancesSlice'
|
import { getInstanceActive } from '@utils/slices/instancesSlice'
|
||||||
import { StyleConstants } from '@utils/styles/constants'
|
|
||||||
import React, { useReducer, useRef } from 'react'
|
import React, { useReducer, useRef } from 'react'
|
||||||
import Animated, {
|
import Animated, {
|
||||||
useAnimatedScrollHandler,
|
useAnimatedScrollHandler,
|
||||||
|
@ -50,7 +49,6 @@ const TabMeRoot: React.FC = () => {
|
||||||
keyboardShouldPersistTaps='handled'
|
keyboardShouldPersistTaps='handled'
|
||||||
onScroll={onScroll}
|
onScroll={onScroll}
|
||||||
scrollEventThrottle={16}
|
scrollEventThrottle={16}
|
||||||
style={{ marginBottom: StyleConstants.Spacing.L }}
|
|
||||||
>
|
>
|
||||||
{instanceActive !== -1 ? (
|
{instanceActive !== -1 ? (
|
||||||
<MyInfo account={data} />
|
<MyInfo account={data} />
|
||||||
|
|
|
@ -21,7 +21,8 @@ const Logout: React.FC = () => {
|
||||||
content={t('me.root.logout.button')}
|
content={t('me.root.logout.button')}
|
||||||
style={{
|
style={{
|
||||||
marginHorizontal: StyleConstants.Spacing.Global.PagePadding * 2,
|
marginHorizontal: StyleConstants.Spacing.Global.PagePadding * 2,
|
||||||
marginTop: StyleConstants.Spacing.Global.PagePadding
|
marginTop: StyleConstants.Spacing.Global.PagePadding,
|
||||||
|
marginBottom: StyleConstants.Spacing.Global.PagePadding * 2
|
||||||
}}
|
}}
|
||||||
destructive
|
destructive
|
||||||
onPress={() =>
|
onPress={() =>
|
||||||
|
|
Loading…
Reference in New Issue