mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-09-01 19:49:54 +02:00
mobile: minor fixes
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user