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