mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-23 05:13:04 +03:00
commit
d580186166
@ -20,7 +20,7 @@ const BoostPlaceHolder = () => {
|
||||
{({ isDarkTheme }) => {
|
||||
const color = isDarkTheme ? '#2e3d51' : '#f5f5f5';
|
||||
return (
|
||||
<View style={styles.container} key={i.toString()}>
|
||||
<View style={styles.container} key={'key-' + i.toString()}>
|
||||
<View style={styles.line}>
|
||||
<Placeholder.Box color={color} width={90} height={40} animate="fade" />
|
||||
<View style={styles.paragraphWrapper}>
|
||||
|
@ -131,8 +131,8 @@ export default class TagAreaView extends Component {
|
||||
}}
|
||||
isPin={i === 0 && chips[1]}
|
||||
placeholderTextColor="#fff"
|
||||
removeButton
|
||||
handleOnRemoveButtonPress={() => this._handleTagRemove(i)}
|
||||
//removeButton
|
||||
//handleOnRemoveButtonPress={() => this._handleTagRemove(i)}
|
||||
editable={!isPreviewActive}
|
||||
maxLength={50}
|
||||
placeholder="tags"
|
||||
|
@ -216,7 +216,7 @@ const CommentBody = ({
|
||||
a {
|
||||
color: ${EStyleSheet.value('$primaryBlue')};
|
||||
cursor: pointer;
|
||||
text-decoration: underline;
|
||||
margin-right: 5;
|
||||
}
|
||||
img {
|
||||
align-self: 'center';
|
||||
|
@ -213,7 +213,7 @@ const PostBody = ({
|
||||
a {
|
||||
color: ${EStyleSheet.value('$primaryBlue')};
|
||||
cursor: pointer;
|
||||
text-decoration: underline;
|
||||
margin-right: 5;
|
||||
}
|
||||
img {
|
||||
align-self: 'center';
|
||||
|
@ -19,9 +19,8 @@ const ITEM_SKUS = Platform.select({
|
||||
|
||||
const _getTitle = title => {
|
||||
let _title = title.toUpperCase();
|
||||
|
||||
if (_title.includes('(ESTEEM)')) {
|
||||
_title = _title.replace('(ESTEEM)', '');
|
||||
if (_title !== 'FREE ESTM') {
|
||||
_title = _title.replace(/[^0-9]+/g, '') + ' ESTM';
|
||||
}
|
||||
|
||||
return _title;
|
||||
|
@ -228,7 +228,7 @@ class EditorScreen extends Component {
|
||||
{!isReply && (
|
||||
<TitleArea value={fields.title} componentID="title" intl={intl} autoFocus={true} />
|
||||
)}
|
||||
{!isReply && (
|
||||
{!isReply && !isPreviewActive && (
|
||||
<TagInput
|
||||
value={fields.tags}
|
||||
componentID="tag-area"
|
||||
@ -236,6 +236,13 @@ class EditorScreen extends Component {
|
||||
handleTagChanged={this._handleOnTagAdded}
|
||||
/>
|
||||
)}
|
||||
{!isReply && isPreviewActive && (
|
||||
<TagArea
|
||||
draftChips={fields.tags.length > 0 ? fields.tags : null}
|
||||
componentID="tag-area"
|
||||
intl={intl}
|
||||
/>
|
||||
)}
|
||||
<MarkdownEditor
|
||||
componentID="body"
|
||||
draftBody={fields && fields.body}
|
||||
@ -257,12 +264,3 @@ class EditorScreen extends Component {
|
||||
}
|
||||
|
||||
export default injectIntl(EditorScreen);
|
||||
/*
|
||||
<TagArea
|
||||
draftChips={fields.tags.length > 0 ? fields.tags : null}
|
||||
isRemoveTag={isRemoveTag}
|
||||
componentID="tag-area"
|
||||
handleTagChanged={this._handleOnTagAdded}
|
||||
intl={intl}
|
||||
/>
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user