Currently, the app displays generic cant-do messages, so the user doesn’t know why the action failed.
We should use the reason field from the cant-do payload to show a clearer message in the Snackbar.
Examples of reasons:
out-of-range-sats-amount
not-allowed-by-status
Use the suggestions from the protocol documentation:
https://mostro.network/protocol/message_suggestions_for_actions.html
This will help users better understand why an action cannot be performed.
Currently, the app displays generic
cant-domessages, so the user doesn’t know why the action failed.We should use the reason field from the
cant-dopayload to show a clearer message in the Snackbar.Examples of reasons:
out-of-range-sats-amountnot-allowed-by-statusUse the suggestions from the protocol documentation:
https://mostro.network/protocol/message_suggestions_for_actions.html
This will help users better understand why an action cannot be performed.