setting cursor color only for android

This commit is contained in:
Roland Osborne 2025-03-28 09:52:57 -07:00
parent b677aa1fa4
commit 7468e72f0a

View File

@ -1,5 +1,5 @@
import React, {useEffect, useState, useRef} from 'react'; import React, {useEffect, useState, useRef} from 'react';
import {Animated, useAnimatedValue, Modal, ScrollView, Pressable, View, FlatList} from 'react-native'; import {Animated, useAnimatedValue, Modal, ScrollView, Pressable, View, FlatList, Platform} from 'react-native';
import {styles} from './Conversation.styled'; import {styles} from './Conversation.styled';
import {useConversation} from './useConversation.hook'; import {useConversation} from './useConversation.hook';
import {Message} from '../message/Message'; import {Message} from '../message/Message';
@ -289,7 +289,8 @@ export function Conversation({close, openDetails, wide}: {close: () => void; ope
editable={!sending} editable={!sending}
textColor={state.textColorSet ? state.textColor : undefined} textColor={state.textColorSet ? state.textColor : undefined}
outlineColor="transparent" outlineColor="transparent"
activeOutlineColor={Colors.placeholder} activeOutlineColor={Platform.OS === 'ios' ? Colors.placeholder : 'transparent'}
cursorColor={Colors.placeholder}
spellcheck={false} spellcheck={false}
autoComplete="off" autoComplete="off"
autoCapitalize="none" autoCapitalize="none"