Commit Graph
1050 Commits
Author SHA1 Message Date
Omar HatemandGitHub 33935c9b1d Update flushbar (#568)
* Replace old flushbar package with its updated version
Fix flushbars throughtout the app

* Fix Navigation happening all at once causing debugLocked error

* Remove un-necessary async/await

* Remove un-necessary future delayed

* Make process text flushbar indefinite

* Fix show seeds/keys popping page after being pushed instead of popping the auth route
2022-10-26 14:13:44 -04:00
SerhiiandGitHub 4f2cf983de check share plugin usage (#567)
* replace share plugin with share_plus

* fix share button on receive screen

* add share button for btc, ltc wallets
2022-10-26 11:05:08 -04:00
Godwin AsuquoandGitHub 95ecf4ef56 Cw 181 simple swap extra id fix (#532)
* extra id for simple swap
2022-10-25 16:36:28 -04:00
Godwin AsuquoandGitHub 9f187308d4 Fix gift card purchase (#553)
* Fix gift card purchase

* cast as optional bool
2022-10-24 15:27:10 -04:00
Omar HatemandGitHub d9415af4de Allow null AccountListItem for create purpose not just editing (#558) 2022-10-24 15:25:14 -04:00
Omar HatemandGitHub fb8017a93c Used the new barcode_scan2 package instead (#559) 2022-10-24 15:24:20 -04:00
Omar HatemandGitHub ca36a425a7 Fix exchange provider overflow (#560)
Fix splash effect style for the new Flutter button configs
2022-10-24 15:23:06 -04:00
Omar HatemandGitHub 12e54426bd Fix edit/delete option slidable (#561)
* Fix Edit Slidable in receive address cell
Fix Edit/Delete slidable in contact list

* Update Delete node slidable
2022-10-24 15:15:17 -04:00
Omar HatemandGitHub 65b87ecae0 Fix nullability of selected provider (#562)
Remove un-necessary null operators
2022-10-24 15:06:03 -04:00
Omar HatemandGitHub c34c3b0737 Cw 199 add wallet deletion confirmation (#555)
* Fix Slidable for deleting wallet
Add confirmation dialog for deleting wallet

* Swap confirmation dialog buttons to be consistent with other alerts
2022-10-21 16:06:59 -04:00
Godwin AsuquoandGitHub 66949fd41a Update close button size (#551) 2022-10-21 12:30:36 -04:00
Omar HatemandGitHub 4279b82bca exclude zzec currency from simple swap (#516) 2022-10-20 13:54:00 -04:00
Omar HatemandGitHub 7e7217008c Cw 171 exchange auto selector bug (#523)
* Fix de-selecting exchange providers not getting saved

* only change field value when the amount is better than the already existing one

* Show calculated amount after getting the best value from all providers

* Catch exceptions to avoid stopping the providers calculate amount APIs

* Fix Splay map only saving the last value obtained

* Show limits for the provider with the highest rate

* Load limits on currency pair change

* Show limits for lowest min provider

* Show limits for lowest min and highest max

* Sync best rate every 10 seconds instead of calculating it on every amount change

* Fix conflicts with flutter upgrade
Add null safety to changes in exchange_view_model.dart

* Remove un-necessary checks
2022-10-20 13:47:36 -04:00
6046385236 Cw 178 additional accents for exchange (#526)
* Fix SimpleSwap create exchange (#522)

* Check for status code 201 instead of 200 to follow SimpleSwap API documentation

* allow 200 and 201 success status code

* Changed app version to 4.4.7 (1.1.1 for monero.com)

* Add new currencies
Separate a list for unsupported currencies for SideShift
Fix currencies normalization symbols

* Add new currencies

* Add Currencies validation and possible length

Co-authored-by: M <m@cakewallet.com>
2022-10-20 13:23:36 -04:00
Omar HatemandGitHub d4b5ffd0d6 Adapt error message check in backup errors (#550) 2022-10-20 12:37:02 -04:00
SerhiiandGitHub 3a9c8be9ca alerts UI fix (#539)
* fix alerts button UI

* remove comments
2022-10-19 18:28:49 -04:00
Omar HatemandGitHub e1885e44a2 Fix fee priority display (#540)
* Fix transaction priority displaying empty string

* Fix priority label with rate in send screen

* Make price nullable in transaction list items
2022-10-19 18:24:50 -04:00
Omar HatemandGitHub e011ab3e88 Fix parsing .yml files to nodes (#543) 2022-10-19 18:23:53 -04:00
Omar HatemandGitHub 3c4ba6da53 Create haven default node instead of loading from YAML (#544) 2022-10-19 18:21:16 -04:00
Omar HatemandGitHub a2dfbc6076 Fix exchange limits issue (#545)
* Allow nullable values from limits API

* Handle null values in SideShift limits API response
2022-10-19 18:20:11 -04:00
SerhiiandGitHub c7ea9d52ee fix CakePay icon (#546) 2022-10-19 18:19:23 -04:00
SerhiiandGitHub 9b4fc8f608 fix buttons UI (#548) 2022-10-19 18:18:39 -04:00
M 1ba02af2b8 Merge branch 'flutter-upgrade' of github.com:cake-tech/cake_wallet into flutter-upgrade 2022-10-18 11:39:01 -04:00
M a0294a16b2 CW-194 Fixes for import backups v1 2022-10-18 11:38:54 -04:00
Omar HatemandGitHub da6fd9a9ff Cw 188 fix grey screen (#537)
* Fix late initialization exception when using late with Mobx
Fix index out of range exception in picker

* Add haven account list class to configure file to be generated in haven.dart
2022-10-17 17:01:50 -04:00
Omar HatemandGitHub 6fbc658156 Cw 187 fix separator color (#538)
* Revert commented color attribute for list separator

* Handle theme nullability
2022-10-17 16:57:04 -04:00
M 902935bc16 CW-193 Fixes for fetching of electrum transactions. 2022-10-17 16:55:41 -04:00
M 1beb18b045 Flutter upgrade 2022-10-12 13:09:57 -04:00
Godwin AsuquoandGitHub c921ad890a Truncate to double (#511)
* Truncate to double

* fix format remaining amount
2022-09-19 11:09:23 -04:00
Godwin AsuquoandGitHub 54bc40c503 hide tips section (#509) 2022-09-16 16:15:34 -04:00
Godwin AsuquoandGitHub 1a9becbebc fix color for login back button (#510) 2022-09-16 10:28:43 -04:00
M cb8cf8e77c Temporary disable more options button on ionia gift card details screen. 2022-09-14 18:22:31 -04:00
Justin EhrenhoferandGitHub bc8900e879 fix zaddr validation (#506)
Sideshift only supports `zs` Sapling addresses now. They do not support `zc` Sprout addresses or `u` unified addresses
2022-09-14 15:46:14 -04:00
SerhiiandGitHub f6a2b3c74b Cw 126 check validation for new currencies (#501)
* update address validation

xmr, ape, avaxc, eth, usdc, hbar, sc, sol, usdcsoul, usdttrc20, btt, bttsc, doge,firo, xvg, zen, tzec, zzec

* fix formating
2022-09-07 13:53:33 +01:00
SerhiiandGitHub f59c2fbd2b add new coins to exchange (#499)
* add new coins

APE, AVAXC, BTT, BTTBSC, DOGE, FIRO, USDTTRC20, HBAR, SC, SOL, USDC, USDCSOL, ZEN, XVG

* remove UST icon

* remove xhv from excludeDepositCurrencies

* remove xhv from excludeReceiveCurrencies
2022-09-07 13:10:21 +01:00
Godwin AsuquoandGitHub bed815e370 update ui bug (#497) 2022-09-07 12:58:37 +01:00
Omar HatemandGitHub 244d20d1b6 Skip unsupported providers when calculating best rate provider (#500) 2022-09-07 12:43:03 +01:00
SerhiiandGitHub 424cf25052 Сake pay filter white screen bug (#491)
* increase touch area for filter button

* rework card list view model

* fix button color

* fix formating
2022-09-02 16:04:19 +01:00
Godwin AsuquoandGitHub bd25d047b2 CW-148 cake pay partial redemptions (#490)
* Ionia custom redemption screen

* update ionia gift card remaining amount with custom value

* [NO-TASK] Fix issues with custom redeem

* replace redeem

* update remaining amount

* fixed from code review

* Add localization
2022-09-02 14:47:45 +01:00
SerhiiandGitHub 0aee6e1b8d rework trade details screen (#449)
* create standart list card item

* create standart list status item

* update localization

* fix date format

* fix theme gradient

* PR comments

* fix issues from code review
2022-09-02 14:10:54 +01:00
mkyqandGitHub 04be884357 Enable exchange for haven wallets. (#495) 2022-09-01 19:46:14 +01:00
Godwin AsuquoandGitHub 0931696fa1 CW-143 cake pay custom tip amount (#492)
* Add custom tip logic

* Fix euro currency
2022-09-01 17:29:58 +01:00
Godwin AsuquoandGitHub a745319ffa Fix ionia loading states (#493) 2022-09-01 17:14:01 +01:00
Omar HatemandGitHub c50eeee58b CW 68 exchange automatic rate selector (#472)
* Add 'Exchange provider picker'
Save user selections

* Save user's exchange providers selection

* Add text for selected providers availability

* Fix selected providers not updating

* Load limits based on highest maximum in the selected providers

* Change received and deposit amount to be the best value from the selected providers

* Add provider name next to Trade ID
Set selected provider based on amount calculated

* Grey out providers who doesn't support selected currency pair

* Fix disabled providers

* Add Provider logo in Confirm Screen

* Only choose a provider if it satisfies its limits

* Fix amount validation

* Fix typo in error message

* Add a queue of possible exchange providers sorted by the best rate to try next if one failed

* Fix string locale typo

* Add Localization for other languages

* Add Placeholder text when there are no providers selected

* Check Exchange provider availability before creating a trade

* Fix "Fixed Rate" changing unconditionally

* Enable "convert to" field regardless of the provider

* Remove "Choose one" from providers picker

* Merge Master

* Fix Conflicts with master

* Add missing isEnabled field in simple swap provider
2022-09-01 15:12:38 +01:00
mkyqandGitHub 92458e2f4b Add platform device id package. Send device uuid to ionia for purchase request. (#494) 2022-08-31 17:37:43 +01:00
Godwin AsuquoandGitHub d9905a7cf3 Cw 110 integrate simple swap exchange (#459)
* add support for SimpleSwap exchange

* fix edit receive amount field

* fixed merge conflicts

* Fix issues from code review
2022-08-31 16:34:07 +01:00
SerhiiandGitHub 7fae9cf9bb Cw 150 cake pay introduction card (#486)
* create introducing card

* add ability to close the card

* update walletInfo class

* update localization

* fix intro text

* fix card size

* show card for existing and new wallet types

* disable card for haven wallets

* fixes to PR

* fixes to PR

* fix PR
2022-08-30 19:03:02 +01:00
SerhiiandGitHub 5fcbf3634b sort Giftcards alphabetically (#469) 2022-08-30 15:14:05 +01:00
SerhiiandGitHub 4a5747c630 increase brightness for gift card detail page (#478)
* increase brightness for gift card detail page

* move logic to view model

* fix format
2022-08-30 15:01:45 +01:00
SerhiiandGitHub 31a57fc4d3 fix display of Yat alert when address is empty (#484) 2022-08-26 16:29:00 +01:00