mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 23:19:40 +01:00
fix bottom padding for bottom button
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
import React, {useEffect, useState} from 'react';
|
import React, {useEffect, useState} from 'react';
|
||||||
import {Keyboard, Text, View} from 'react-native';
|
import {Keyboard, Platform, Text, View} from 'react-native';
|
||||||
import {useSafeAreaInsets} from 'react-native-safe-area-context';
|
import {useSafeAreaInsets} from 'react-native-safe-area-context';
|
||||||
import Icon from 'react-native-vector-icons/MaterialCommunityIcons';
|
import Icon from 'react-native-vector-icons/MaterialCommunityIcons';
|
||||||
import {pv, SIZE, WEIGHT} from '../../common/common';
|
import {pv, SIZE, WEIGHT} from '../../common/common';
|
||||||
@@ -49,7 +49,7 @@ export const ContainerBottomButton = ({title, onPress, color}) => {
|
|||||||
opacity: buttonHide ? 0 : 1,
|
opacity: buttonHide ? 0 : 1,
|
||||||
position: 'absolute',
|
position: 'absolute',
|
||||||
paddingHorizontal: 12,
|
paddingHorizontal: 12,
|
||||||
bottom: insets.bottom + 20,
|
bottom: Platform.OS === 'ios' ? insets.bottom - 10 : insets.bottom + 20,
|
||||||
zIndex: 10,
|
zIndex: 10,
|
||||||
transform: [
|
transform: [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user