From dffe7c4ffaec2469cbca128f026e6730359c476a Mon Sep 17 00:00:00 2001 From: Ammar Ahmed Date: Thu, 25 Jun 2026 11:56:01 +0500 Subject: [PATCH] mobile: minor fixes --- apps/mobile/app/components/header/index.tsx | 5 +++-- apps/mobile/app/components/paywall/index.tsx | 2 +- apps/mobile/app/components/ui/typography/heading.tsx | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/apps/mobile/app/components/header/index.tsx b/apps/mobile/app/components/header/index.tsx index 7b72b28f6..7fcda801c 100644 --- a/apps/mobile/app/components/header/index.tsx +++ b/apps/mobile/app/components/header/index.tsx @@ -19,7 +19,7 @@ along with this program. If not, see . 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 = ({ - + {strings.frequentlyAskedQuestions()} diff --git a/apps/mobile/app/components/ui/typography/heading.tsx b/apps/mobile/app/components/ui/typography/heading.tsx index 3b60ae4fe..346760762 100644 --- a/apps/mobile/app/components/ui/typography/heading.tsx +++ b/apps/mobile/app/components/ui/typography/heading.tsx @@ -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 = {