change post test with photo attached;

remove auto linking settings
zio/stable
João Ferreiro 2022-11-29 16:45:44 +00:00
parent 58aa4f0436
commit 3b899bfc66
3 changed files with 7 additions and 6 deletions

View File

@ -1,8 +1,4 @@
rootProject.name = 'app' rootProject.name = 'app'
include ':@react-native-camera-roll_camera-roll'
project(':@react-native-camera-roll_camera-roll').projectDir = new File(rootProject.projectDir, '../node_modules/@react-native-camera-roll/camera-roll/android')
include ':@react-native-camera-roll_camera-roll'
project(':@react-native-camera-roll_camera-roll').projectDir = new File(rootProject.projectDir, '../node_modules/@react-native-camera-roll/camera-roll/android')
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings) apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
include ':app' include ':app'
includeBuild('../node_modules/react-native-gradle-plugin') includeBuild('../node_modules/react-native-gradle-plugin')

View File

@ -20,7 +20,6 @@ target 'app' do
:app_path => "#{Pod::Config.instance.installation_root}/.." :app_path => "#{Pod::Config.instance.installation_root}/.."
) )
target 'appTests' do target 'appTests' do
inherit! :complete inherit! :complete
# Pods for testing # Pods for testing

View File

@ -223,7 +223,13 @@ export const ComposePost = observer(function ComposePost({
multiline multiline
scrollEnabled scrollEnabled
onChangeText={(text: string) => onChangeText(text)} onChangeText={(text: string) => onChangeText(text)}
placeholder={replyTo ? 'Write your reply' : "What's up?"} placeholder={
replyTo
? 'Write your reply'
: selectedPhotos.length !== 0
? 'Write a comment'
: "What's up?"
}
style={styles.textInput}> style={styles.textInput}>
{textDecorated} {textDecorated}
</TextInput> </TextInput>