From f9595ffff8555d4ff2d1e88907ca02322639768e Mon Sep 17 00:00:00 2001 From: lawvs <18554747+lawvs@users.noreply.github.com> Date: Sat, 21 Jun 2025 04:18:29 +0800 Subject: [PATCH] fix: compatible with android for summary modal --- apps/mobile/src/modules/ai/summary.tsx | 60 ++++++++++++++------------ 1 file changed, 32 insertions(+), 28 deletions(-) diff --git a/apps/mobile/src/modules/ai/summary.tsx b/apps/mobile/src/modules/ai/summary.tsx index a11798125..3cbbf2bf1 100644 --- a/apps/mobile/src/modules/ai/summary.tsx +++ b/apps/mobile/src/modules/ai/summary.tsx @@ -13,6 +13,7 @@ import { StyleSheet, Text, TextInput, + TouchableOpacity, View, } from "react-native" import Animated, { @@ -108,13 +109,13 @@ export const AISummary: FC<{ {summaryTextForSheet && ( - setSheetOpen(true)} className="bg-quaternary-system-fill rounded-full p-1.5 active:opacity-70" hitSlop={{ top: 8, bottom: 8, left: 8, right: 8 }} > - + )} @@ -239,33 +240,36 @@ const SelectableTextSheet: FC<{ onRequestClose={handleClose} animationType="fade" statusBarTranslucent + navigationBarTranslucent > - - - - - - - - - AI Summary - - - - - - {text} - - + + + + + + + + + + AI Summary + + + + + + {text} + + + ) }