Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

reduce section header height

ammarahm-ed320501338383
diff --git a/apps/mobile/src/components/SimpleList/index.js b/apps/mobile/src/components/SimpleList/index.js
index c53fad1bf..ecd73abd1 100644
--- a/apps/mobile/src/components/SimpleList/index.js
+++ b/apps/mobile/src/components/SimpleList/index.js
@@ -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
diff --git a/apps/mobile/src/components/Toast/index.js b/apps/mobile/src/components/Toast/index.js
index efcee5a17..b5fa8ecc1 100644
--- a/apps/mobile/src/components/Toast/index.js
+++ b/apps/mobile/src/components/Toast/index.js
@@ -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;
diff --git a/apps/mobile/src/views/Settings/index.js b/apps/mobile/src/views/Settings/index.js
index 5955e2a70..61a23bc54 100644
--- a/apps/mobile/src/views/Settings/index.js
+++ b/apps/mobile/src/views/Settings/index.js
@@ -205,7 +205,8 @@ const SectionHeader = ({title}) => {
style={{
textAlignVertical: 'center',
paddingHorizontal: 12,
- height: 35,
+ height: 30,
+ backgroundColor:colors.nav
}}>
{title}
</Heading>