mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 15:09:33 +01:00
reduce section header height
This commit is contained in:
@@ -68,7 +68,7 @@ const SimpleList = ({
|
||||
|
||||
useEffect(() => {
|
||||
loadData();
|
||||
}, [data, searchResults.results,loading]);
|
||||
}, [data, searchResults.results, loading]);
|
||||
|
||||
const loadData = () => {
|
||||
if (loading) return;
|
||||
@@ -86,7 +86,7 @@ const SimpleList = ({
|
||||
width: '100%',
|
||||
justifyContent: 'space-between',
|
||||
paddingHorizontal: 12,
|
||||
height: 35,
|
||||
height: 30,
|
||||
backgroundColor:
|
||||
index === 1
|
||||
? headerProps.color
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
import React, {useEffect, useState} from 'react';
|
||||
import {Keyboard, Text, TouchableOpacity, View} from 'react-native';
|
||||
import Animated, {Easing, useValue} from 'react-native-reanimated';
|
||||
import React, { useEffect, useState } from 'react';
|
||||
import { Keyboard, TouchableOpacity, View } from 'react-native';
|
||||
import Animated, { Easing, useValue } from 'react-native-reanimated';
|
||||
import Icon from 'react-native-vector-icons/MaterialCommunityIcons';
|
||||
import {useTracked} from '../../provider';
|
||||
import {DDS} from '../../services/DeviceDetection';
|
||||
import {eSubscribeEvent, eUnSubscribeEvent} from '../../services/EventManager';
|
||||
import {dHeight, getElevation} from '../../utils';
|
||||
import {eHideToast, eShowToast} from '../../utils/Events';
|
||||
import {sleep} from '../../utils/TimeUtils';
|
||||
import { useTracked } from '../../provider';
|
||||
import { DDS } from '../../services/DeviceDetection';
|
||||
import { eSubscribeEvent, eUnSubscribeEvent } from '../../services/EventManager';
|
||||
import { dHeight, getElevation } from '../../utils';
|
||||
import { eHideToast, eShowToast } from '../../utils/Events';
|
||||
import { sleep } from '../../utils/TimeUtils';
|
||||
import Paragraph from '../Typography/Paragraph';
|
||||
const {timing} = Animated;
|
||||
|
||||
|
||||
@@ -205,7 +205,8 @@ const SectionHeader = ({title}) => {
|
||||
style={{
|
||||
textAlignVertical: 'center',
|
||||
paddingHorizontal: 12,
|
||||
height: 35,
|
||||
height: 30,
|
||||
backgroundColor:colors.nav
|
||||
}}>
|
||||
{title}
|
||||
</Heading>
|
||||
|
||||
Reference in New Issue
Block a user