include the active symbol in the displayed limit
This commit is contained in:
parent
29cc4c63eb
commit
3595ff0d61
@ -236,8 +236,8 @@ func (h *MenuHandlers) SwapMaxLimit(ctx context.Context, sym string, input []byt
|
|||||||
}
|
}
|
||||||
|
|
||||||
res.Content = fmt.Sprintf(
|
res.Content = fmt.Sprintf(
|
||||||
"Maximum: %s\n\nEnter amount of %s to swap for %s:",
|
"Maximum: %s %s\n\nEnter amount of %s to swap for %s:",
|
||||||
maxStr, swapData.ActiveSwapFromSym, swapData.ActiveSwapToSym,
|
maxStr, swapData.ActiveSwapFromSym, swapData.ActiveSwapFromSym, swapData.ActiveSwapToSym,
|
||||||
)
|
)
|
||||||
|
|
||||||
return res, nil
|
return res, nil
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user