diff --git a/src/components/walletDetails/view/walletDetailsView.js b/src/components/walletDetails/view/walletDetailsView.js index ce9132437..9c303c9a2 100644 --- a/src/components/walletDetails/view/walletDetailsView.js +++ b/src/components/walletDetails/view/walletDetailsView.js @@ -116,7 +116,7 @@ const WalletDetailsView = ({ walletData, intl, navigate, isShowDropdowns }) => { text={`${intl.formatMessage({ id: 'profile.next_power_text', })} ${walletData.nextVestingWithdrawal} ${intl.formatMessage({ - id: 'profile.day', + id: 'profile.hours', })}`} textColor="#788187" iconName="ios-information-circle-outline" diff --git a/src/utils/wallet.js b/src/utils/wallet.js index 54eb8dfd2..3882f0773 100644 --- a/src/utils/wallet.js +++ b/src/utils/wallet.js @@ -219,7 +219,7 @@ export const groomingWalletData = async (user, globalProps, userCurrency) => { walletData.showPowerDown = user.next_vesting_withdrawal !== '1969-12-31T23:59:59'; const timeDiff = Math.abs(parseDate(user.next_vesting_withdrawal) - new Date()); - walletData.nextVestingWithdrawal = Math.floor(timeDiff / (1000 * 3600 * 24)); + walletData.nextVestingWithdrawal = Math.round(timeDiff / (1000 * 3600)); const { transfer_history: transferHistory } = get(accounts, user.name, []); walletData.transactions = transferHistory