Commit graph

775 commits

Author SHA1 Message Date
OmarHatem
6210d8fba6 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-180-advanced-startup-privacy-settings
 Conflicts:
	cw_core/lib/node.dart
	lib/di.dart
	lib/router.dart
	lib/routes.dart
	lib/view_model/node_list/node_create_or_edit_view_model.dart
	res/values/strings_de.arb
	res/values/strings_en.arb
	res/values/strings_es.arb
	res/values/strings_fr.arb
	res/values/strings_hi.arb
	res/values/strings_hr.arb
	res/values/strings_it.arb
	res/values/strings_ja.arb
	res/values/strings_ko.arb
	res/values/strings_nl.arb
	res/values/strings_pl.arb
	res/values/strings_pt.arb
	res/values/strings_ru.arb
	res/values/strings_uk.arb
	res/values/strings_zh.arb
2022-11-09 15:40:12 +02:00
Omar Hatem
71444219be
Cw 218 fix change pin using bio auth (#599)
* - push change pin page as a replacement for auth page to avoid closing it once its opened
- Add cool-down duration after popping flushbars and pushing new routes
2022-11-07 15:35:34 -05:00
Serhii
a52f47220e
show warning if exchanging with slow fee (#579)
* show warning if exchanging with slow fee

* Update setDefaultTransactionPriority for return type void; update for use MoneroTransactionPriority.automatic instead of MoneroTransactionPriority.regular.

Co-authored-by: M <m@cakewallet.com>
2022-11-03 15:21:35 -04:00
Serhii
b27b55388c
add warning text to the seed screen (#587)
* Add warning text to the seed screen

* fix font size
2022-11-02 15:53:14 -04:00
Serhii
0040bca853
Add partners contacts (#577)
Contacts of SideShift and SimpleSwap partners added to the Support section
2022-11-02 14:11:05 -04:00
Serhii
8e0ef694d6
fix text color for Dark Mode (#578) 2022-11-02 13:12:39 -04:00
Omar Hatem
e8b3a0648a
Fix Navigation issue where popping 2 routes at the same time (#584) 2022-11-02 13:11:53 -04:00
Justin Ehrenhofer
12e7b45520
Remove Onramper swap (#573)
It's not supported here, so removing to avoid confusion
2022-10-28 12:21:58 -04:00
mkyq
b2a5c66c37
Add onramper widget for buy screen (#571) 2022-10-27 17:33:58 -04:00
mkyq
acb03e5530
Xchaha20 poly1305 integration (#569)
* Integration of xchacha20-poly1305

* Remove force unwrap from _exportPreferencesJSON

* Deprecate v1 export

* Fix for open backup screen after auth
2022-10-26 15:28:27 -04:00
Omar Hatem
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
Serhii
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
Omar Hatem
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 Hatem
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 Hatem
65b87ecae0
Fix nullability of selected provider (#562)
Remove un-necessary null operators
2022-10-24 15:06:03 -04:00
Omar Hatem
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 Asuquo
66949fd41a
Update close button size (#551) 2022-10-21 12:30:36 -04:00
Omar Hatem
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
Serhii
3a9c8be9ca
alerts UI fix (#539)
* fix alerts button UI

* remove comments
2022-10-19 18:28:49 -04:00
Serhii
c7ea9d52ee
fix CakePay icon (#546) 2022-10-19 18:19:23 -04:00
Serhii
9b4fc8f608
fix buttons UI (#548) 2022-10-19 18:18:39 -04:00
Omar Hatem
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 Hatem
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
1beb18b045 Flutter upgrade 2022-10-12 13:09:57 -04:00
OmarHatem
3c04bd9aa5 Pass wallet type when navigating
Fix UI padding
2022-10-05 20:07:16 +02:00
OmarHatem
299df3c087 Separate node form to be more reusable
Add node form to privacy settings
2022-10-05 19:28:11 +02:00
OmarHatem
6bbedde9b7 Add privacy settings route
Add text translation
2022-10-05 15:58:25 +02:00
OmarHatem
c37bfb2e83 Add Advanced privacy settings page and initial view model 2022-10-05 15:57:17 +02:00
OmarHatem
d748f12e44 Allow marking Monero Nodes as trusted 2022-10-04 14:54:39 +02:00
Godwin Asuquo
c921ad890a
Truncate to double (#511)
* Truncate to double

* fix format remaining amount
2022-09-19 11:09:23 -04:00
Godwin Asuquo
54bc40c503
hide tips section (#509) 2022-09-16 16:15:34 -04:00
Godwin Asuquo
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
Serhii
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
Serhii
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 Asuquo
bed815e370
update ui bug (#497) 2022-09-07 12:58:37 +01:00
Serhii
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 Asuquo
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
Serhii
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
mkyq
04be884357
Enable exchange for haven wallets. (#495) 2022-09-01 19:46:14 +01:00
Godwin Asuquo
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 Asuquo
a745319ffa
Fix ionia loading states (#493) 2022-09-01 17:14:01 +01:00
Omar Hatem
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
mkyq
92458e2f4b
Add platform device id package. Send device uuid to ionia for purchase request. (#494) 2022-08-31 17:37:43 +01:00
Godwin Asuquo
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
Serhii
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
Serhii
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
Serhii
f559b10c97
fix UI validation bug (#439) 2022-08-22 13:42:36 +01:00
Serhii
0754d4cd45
fix search bar color (#470) 2022-08-22 13:18:04 +01:00
Serhii
d22738da64
add note decryption from QR code (#466) 2022-08-11 15:40:38 +01:00