|
|
|
@ -163,7 +163,7 @@ const AddComment = ({ addComment, productId, theme, ...props }) => { |
|
|
|
|
value={comment.title} |
|
|
|
|
placeholder="عنوان نظر ..." |
|
|
|
|
onChangeText={(text) => setCommentForm({...commentForm, title : text})} |
|
|
|
|
placeholderTextColor={theme === 'light' ? "auto" : Colors.theme1.white + 'aa'} |
|
|
|
|
placeholderTextColor={theme === 'light' ? Colors.theme1.gray2077 : Colors.theme1.white + 'aa'} |
|
|
|
|
/> |
|
|
|
|
<TextInput |
|
|
|
|
style={[ |
|
|
|
@ -175,6 +175,7 @@ const AddComment = ({ addComment, productId, theme, ...props }) => { |
|
|
|
|
textAlign: "right", |
|
|
|
|
fontFamily: "light", |
|
|
|
|
borderWidth: 1, |
|
|
|
|
|
|
|
|
|
borderColor: theme === 'light' ? Colors.theme1.grayE3 : Colors.theme1.white + '55', |
|
|
|
|
|
|
|
|
|
}, |
|
|
|
@ -184,7 +185,7 @@ const AddComment = ({ addComment, productId, theme, ...props }) => { |
|
|
|
|
textAlignVertical="top" |
|
|
|
|
placeholder="متن نظر ..." |
|
|
|
|
onChangeText={(text) => setCommentForm({...commentForm, text})} |
|
|
|
|
placeholderTextColor={theme === 'light' ? "auto" : Colors.theme1.white + 'aa'} |
|
|
|
|
placeholderTextColor={theme === 'light' ? Colors.theme1.gray2077 : Colors.theme1.white + 'aa'} |
|
|
|
|
/> |
|
|
|
|
<View style={tw("w-full mt-4")}> |
|
|
|
|
<Pressable |
|
|
|
@ -202,7 +203,7 @@ const AddComment = ({ addComment, productId, theme, ...props }) => { |
|
|
|
|
|
|
|
|
|
const mapStateToProps = (state) => ({ |
|
|
|
|
orderFullList: state.userFactor.fullList, |
|
|
|
|
theme1: state.publicApi.theme1, |
|
|
|
|
theme: state.publicApi.theme, |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
const mapDispatchToProps = { |
|
|
|
|