mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-26 14:54:19 +03:00
intterop
This commit is contained in:
parent
1e0c8e5c6f
commit
71b46e1196
@ -8,6 +8,7 @@ export default EStyleSheet.create({
|
|||||||
backgroundColor: '$primaryBackgroundColor',
|
backgroundColor: '$primaryBackgroundColor',
|
||||||
borderTopWidth: 0.1,
|
borderTopWidth: 0.1,
|
||||||
shadowOpacity: 0.1,
|
shadowOpacity: 0.1,
|
||||||
|
elevation: 3,
|
||||||
},
|
},
|
||||||
safeArea: {
|
safeArea: {
|
||||||
backgroundColor: '$primaryBackgroundColor',
|
backgroundColor: '$primaryBackgroundColor',
|
||||||
|
@ -14,7 +14,7 @@ export default EStyleSheet.create({
|
|||||||
alignSelf: 'center',
|
alignSelf: 'center',
|
||||||
},
|
},
|
||||||
rightIcon: {
|
rightIcon: {
|
||||||
color: '$primaryDarkText',
|
color: '$darkIconColor',
|
||||||
textAlign: 'center',
|
textAlign: 'center',
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
@ -7,7 +7,6 @@ export default EStyleSheet.create({
|
|||||||
marginLeft: 0,
|
marginLeft: 0,
|
||||||
marginTop: 5,
|
marginTop: 5,
|
||||||
marginBottom: 10,
|
marginBottom: 10,
|
||||||
borderRadius: 5,
|
|
||||||
backgroundColor: '$primaryBackgroundColor',
|
backgroundColor: '$primaryBackgroundColor',
|
||||||
shadowOpacity: 0.2,
|
shadowOpacity: 0.2,
|
||||||
shadowColor: '$shadowColor',
|
shadowColor: '$shadowColor',
|
||||||
|
@ -24,6 +24,7 @@ export default {
|
|||||||
$bubblesBlue: '#5CCDFF',
|
$bubblesBlue: '#5CCDFF',
|
||||||
$borderTopColor: '#757575',
|
$borderTopColor: '#757575',
|
||||||
$iconColor: '#788187',
|
$iconColor: '#788187',
|
||||||
|
$darkIconColor: '#526d91',
|
||||||
$dangerColor: '#fff',
|
$dangerColor: '#fff',
|
||||||
$warningColor: '#fff',
|
$warningColor: '#fff',
|
||||||
$successColor: '#fff',
|
$successColor: '#fff',
|
||||||
|
@ -22,6 +22,7 @@ export default {
|
|||||||
$tagColor: '#c1c5c7',
|
$tagColor: '#c1c5c7',
|
||||||
$bubblesBlue: '#5CCDFF',
|
$bubblesBlue: '#5CCDFF',
|
||||||
$iconColor: '#c1c5c7',
|
$iconColor: '#c1c5c7',
|
||||||
|
$darkIconColor: '#c1c5c7',
|
||||||
$borderTopColor: '#cfcfcf',
|
$borderTopColor: '#cfcfcf',
|
||||||
$dangerColor: '#fff',
|
$dangerColor: '#fff',
|
||||||
$warningColor: '#fff',
|
$warningColor: '#fff',
|
||||||
|
@ -22,7 +22,7 @@ export const parsePost = (post, currentUserName, isSummary = false) => {
|
|||||||
_post.active_votes.sort((a, b) => b.rshares - a.rshares);
|
_post.active_votes.sort((a, b) => b.rshares - a.rshares);
|
||||||
|
|
||||||
_post.body = markDown2Html(post.body);
|
_post.body = markDown2Html(post.body);
|
||||||
if (isSummary) _post.summary = getPostSummary(post.body, 150);
|
if (isSummary) _post.summary = getPostSummary(_post.body, 150);
|
||||||
|
|
||||||
if (currentUserName) {
|
if (currentUserName) {
|
||||||
_post.is_voted = isVoted(_post.active_votes, currentUserName);
|
_post.is_voted = isVoted(_post.active_votes, currentUserName);
|
||||||
|
Loading…
Reference in New Issue
Block a user