frontend client for gemstone. decentralised workplace app
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

refactor: use pressable instead

serenity 83da8218 5ee5d17f

+3 -3
+3 -3
src/components/Chat/index.tsx
··· 9 9 import { useCurrentPalette } from "@/providers/ThemeProvider"; 10 10 import { ArrowUp, Dot, Hash } from "lucide-react-native"; 11 11 import { useState } from "react"; 12 - import { View, TextInput, TouchableOpacity, FlatList } from "react-native"; 12 + import { View, TextInput, FlatList, Pressable } from "react-native"; 13 13 14 14 export const Chat = ({ channelAtUri }: { channelAtUri: AtUri }) => { 15 15 const [inputText, setInputText] = useState(""); ··· 182 182 // eslint-disable-next-line @typescript-eslint/no-deprecated -- can't get it working with the new prop. 183 183 blurOnSubmit={false} 184 184 /> 185 - <TouchableOpacity 185 + <Pressable 186 186 style={{ 187 187 backgroundColor: inputText.trim() 188 188 ? semantic.primary ··· 197 197 disabled={!isConnected} 198 198 > 199 199 <ArrowUp height={20} width={20} /> 200 - </TouchableOpacity> 200 + </Pressable> 201 201 </View> 202 202 </View> 203 203 );