Currently, when create new pair, then update it, the app creates new pairs instead of current one. It should be an update operation
Steps to reproduce:
Create new pair
Long click on the pair
Change currency
Press save
Changes
Instead of using default Id as 0, use selected pairId to update existing pair
Summary
Currently, when create new pair, then update it, the app creates new pairs instead of current one. It should be an update operation Steps to reproduce:
Changes
Instead of using default Id as 0, use selected pairId to update existing pair
Before
https://github.com/ARK-Builders/ARK-Rate/assets/43868345/ac020dbe-105b-4179-89f7-07faa4347d29
After
https://github.com/ARK-Builders/ARK-Rate/assets/43868345/473af9fc-8bb2-40cc-9afc-c07f7c865b0a