mirror of
https://github.com/ecency/ecency-mobile.git
synced 2025-01-06 05:13:49 +03:00
space filter fix attempt
This commit is contained in:
parent
082ef2f87e
commit
df17f1636d
@ -23,6 +23,7 @@ export default EStyleSheet.create({
|
|||||||
flex: 6,
|
flex: 6,
|
||||||
},
|
},
|
||||||
filterBarWrapper: {
|
filterBarWrapper: {
|
||||||
|
flex: 1,
|
||||||
flexDirection: 'row',
|
flexDirection: 'row',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
justifyContent: 'space-between',
|
justifyContent: 'space-between',
|
||||||
|
@ -8,9 +8,11 @@ const styles = StyleSheet.create({
|
|||||||
right: 0,
|
right: 0,
|
||||||
bottom: 0,
|
bottom: 0,
|
||||||
top: 0,
|
top: 0,
|
||||||
|
borderRadius: 8,
|
||||||
},
|
},
|
||||||
container: {
|
container: {
|
||||||
backgroundColor: '#f6f6f6',
|
backgroundColor: '#f6f6f6',
|
||||||
|
borderRadius: 8,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -6,13 +6,13 @@ const PERIOD = 432000;
|
|||||||
export const getVotingPower = (account) => {
|
export const getVotingPower = (account) => {
|
||||||
const { vp_manabar } = account;
|
const { vp_manabar } = account;
|
||||||
const { percentage } = vp_manabar;
|
const { percentage } = vp_manabar;
|
||||||
return percentage / 100;
|
return percentage / 100 || 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
export const getRcPower = (account) => {
|
export const getRcPower = (account) => {
|
||||||
const { rc_manabar } = account;
|
const { rc_manabar } = account;
|
||||||
const { percentage } = rc_manabar;
|
const { percentage } = rc_manabar;
|
||||||
return percentage / 100;
|
return percentage / 100 || 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
export const getDownVotingPower = (account) => {
|
export const getDownVotingPower = (account) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user