mirror of
https://github.com/balzack/databag.git
synced 2025-04-20 00:25:16 +00:00
setting cursor color only for android
This commit is contained in:
parent
b677aa1fa4
commit
7468e72f0a
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user