sora-xor / sora-android

Android client application to interact with SORA, a supranational world economic system with a decentralized and democratic governance.
Other
17 stars 11 forks source link

[Bug]: Android - The text of the notification does not change when it is impossible to unbound #377

Open Trezeguet1 opened 6 months ago

Trezeguet1 commented 6 months ago

Preconditions

User has a tokens for Bond

Steps to reproduce

  1. Invite friends & Earn
  2. Get more invitations
  3. Enter desire amount of invitations less than balance amount -> Bond XOR is available
  4. Enter desire amount of invitations greater than balance amount -> Bond XOR is not available

Actual behavior

The text of the notification does not change when it is impossible to unbound.

"Ensure that you have 210 XOR left after this transaction. Otherwise, you won't be able to do another transaction."

https://github.com/sora-xor/sora-android/assets/51509139/448b754e-823a-442d-9b5e-6a261f6b7e9c

Expected behavior

We need to change text of the notification when it is impossible to unbound.

Environment

{"label"=>"Development"}

OS version

Android 13

Additional context

Soralution 3.8.1.4 version