mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-12 13:05:41 +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,
|
||||
},
|
||||
filterBarWrapper: {
|
||||
flex: 1,
|
||||
flexDirection: 'row',
|
||||
alignItems: 'center',
|
||||
justifyContent: 'space-between',
|
||||
|
@ -8,9 +8,11 @@ const styles = StyleSheet.create({
|
||||
right: 0,
|
||||
bottom: 0,
|
||||
top: 0,
|
||||
borderRadius: 8,
|
||||
},
|
||||
container: {
|
||||
backgroundColor: '#f6f6f6',
|
||||
borderRadius: 8,
|
||||
},
|
||||
});
|
||||
|
||||
|
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user