space filter fix attempt

This commit is contained in:
feruz 2021-01-20 16:19:36 +02:00
parent 082ef2f87e
commit df17f1636d
3 changed files with 5 additions and 2 deletions

View File

@ -23,6 +23,7 @@ export default EStyleSheet.create({
flex: 6,
},
filterBarWrapper: {
flex: 1,
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'space-between',

View File

@ -8,9 +8,11 @@ const styles = StyleSheet.create({
right: 0,
bottom: 0,
top: 0,
borderRadius: 8,
},
container: {
backgroundColor: '#f6f6f6',
borderRadius: 8,
},
});

View File

@ -6,13 +6,13 @@ const PERIOD = 432000;
export const getVotingPower = (account) => {
const { vp_manabar } = account;
const { percentage } = vp_manabar;
return percentage / 100;
return percentage / 100 || 0;
};
export const getRcPower = (account) => {
const { rc_manabar } = account;
const { percentage } = rc_manabar;
return percentage / 100;
return percentage / 100 || 0;
};
export const getDownVotingPower = (account) => {