mobile: minor fixes

This commit is contained in:
Ammar Ahmed
2026-06-25 11:56:01 +05:00
parent e24de22486
commit dffe7c4ffa
3 changed files with 5 additions and 4 deletions

View File

@@ -19,7 +19,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
import { useThemeColors } from "@notesnook/theme";
import React, { useCallback, useEffect, useState } from "react";
import { View, ViewStyle } from "react-native";
import { Platform, View, ViewStyle } from "react-native";
import { notesnook } from "../../../e2e/test.ids";
import { Radius, Spacing } from "../../common/design/spacing";
import {
@@ -107,7 +107,8 @@ export const Header = ({
<View
style={{
paddingHorizontal: DefaultAppStyles.GAP,
marginBottom: Spacing.LEVEL_3
marginBottom: Spacing.LEVEL_3,
marginTop: Platform.OS === "android" ? 5 : 0
}}
>
<View

View File

@@ -616,7 +616,7 @@ After trying all the privacy security oriented note taking apps, for the price a
paddingVertical: Spacing.LEVEL_4
}}
>
<Heading fontSize="XL" lineHeight={undefined}>
<Heading fontSize="XL" lineHeight={null}>
{strings.frequentlyAskedQuestions()}
</Heading>
</View>

View File

@@ -37,7 +37,7 @@ interface HeadingProps extends TextProps {
extraBold?: boolean;
fontSize?: keyof typeof FontSizes;
fontFamily?: keyof typeof FontFamily;
lineHeight?: LineHeightVariants;
lineHeight?: LineHeightVariants | null;
}
const extraBoldStyle = {