Changeset View
Changeset View
Standalone View
Standalone View
native/chat/chat.react.js
Show First 20 Lines • Show All 246 Lines • ▼ Show 20 Lines | headerRight: areSettingsEnabled | ||||
navigate={navigation.navigate} | navigate={navigation.navigate} | ||||
/> | /> | ||||
</View> | </View> | ||||
) | ) | ||||
: undefined, | : undefined, | ||||
headerBackTitleVisible: false, | headerBackTitleVisible: false, | ||||
headerTitleAlign: isSearchEmpty ? 'center' : 'left', | headerTitleAlign: isSearchEmpty ? 'center' : 'left', | ||||
headerLeftContainerStyle: { width: Platform.OS === 'ios' ? 32 : 40 }, | headerLeftContainerStyle: { width: Platform.OS === 'ios' ? 32 : 40 }, | ||||
headerTitleStyle: areSettingsEnabled ? { marginRight: 20 } : undefined, | |||||
}; | }; | ||||
}; | }; | ||||
const composeThreadOptions = { | const composeThreadOptions = { | ||||
headerTitle: 'Compose chat', | headerTitle: 'Compose chat', | ||||
headerBackTitleVisible: false, | headerBackTitleVisible: false, | ||||
}; | }; | ||||
const threadSettingsOptions = ({ route }) => ({ | const threadSettingsOptions = ({ route }) => ({ | ||||
// eslint-disable-next-line react/display-name | // eslint-disable-next-line react/display-name | ||||
▲ Show 20 Lines • Show All 158 Lines • Show Last 20 Lines |