Fix price update when picking a new date while recording a transaction
This commit is contained in:
parent
e194d362ba
commit
6194ff501a
@ -381,7 +381,7 @@ public class BuyFragment extends CustomRecordFragment {
|
|||||||
|
|
||||||
if(fragmentCurrency != null)
|
if(fragmentCurrency != null)
|
||||||
{
|
{
|
||||||
fragmentCurrency.getTimestampPrice(getContext(), preferenceManager.getDefaultCurrency(),calendar.getTimeInMillis() / 1000);
|
fragmentCurrency.getTimestampPrice(getContext(), fragmentCurrency.getSymbol().equals(fragmentPair.getFrom()) ? fragmentPair.getTo() : fragmentPair.getFrom(),calendar.getTimeInMillis() / 1000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user