;ui: register: fix one-line amount formatting (#1358)

This commit is contained in:
Simon Michael 2020-11-18 17:20:05 -08:00
parent a92aa3cd26
commit 9730b69a05

View File

@ -94,8 +94,8 @@ rsInit d reset ui@UIState{aopts=_uopts@UIOpts{cliopts_=CliOpts{reportspec_=rspec
[s] -> s
ss -> intercalate ", " ss
-- _ -> "<split>" -- should do this if accounts field width < 30
,rsItemChangeAmount = showMixed showAmountWithoutPrice Nothing (Just 32) False change
,rsItemBalanceAmount = showMixed showAmountWithoutPrice Nothing (Just 32) False bal
,rsItemChangeAmount = showMixedOneLine showAmountWithoutPrice Nothing (Just 32) False change
,rsItemBalanceAmount = showMixedOneLine showAmountWithoutPrice Nothing (Just 32) False bal
,rsItemTransaction = t
}
-- blank items are added to allow more control of scroll position; we won't allow movement over these