Commit graph

636 commits

Author SHA1 Message Date
Serhii
f1904077d2
CW-395-Trade-ID-status-not-updating-in-trade-details-screen (#957)
* fix ChangeNow trade status

* formatting

* fix hive saving

* Revert SideShift changes

This reverts commit
2023-06-14 23:55:49 +03:00
Serhii
a7ba4a84e8
CW-398-MoonPay-offramp-(Sell)-improvements (#964)
* Implement MoonPay offramp widget

* Add Litecoin to strings

* improve webview page

* Rename route string

---------

Co-authored-by: Justin Ehrenhofer <justin.ehrenhofer@gmail.com>
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2023-06-14 02:15:10 +03:00
Rafael Saes
b16cfaaff5
Cw 231 display balance in send and transaction screens when long pressing and when show balance is disabled (#926)
* feat: allow reversing displayMode by long pressing on transactions page

* feat: allow reversing displayMode by long pressing on send page

* revert: revert transaction_list_item.dart but keep BalanceDisplayMode get displayMode => balanceViewModel.displayMode
2023-06-10 01:29:34 +03:00
Godwin Asuquo
a4c279b538
CW-411 Update sideshift api (#959)
* Update sideshift api

* Fix sideShift api v2 rate

* Fix rate calculation on sideshift

* Additional fixes

* Minor: Add additional unsupported
* Add network to quote
* Add amount and affiliateID to quote
* Refactor tag/network assigning

* Fix syntax errors with rate qpi

* Add network for fetching rate

* Remove amount from rate endpoint

* Fix transaction depositAmount

* Fix issues from code review

* Fix issues from code review

* Remove affiliate ID

---------

Co-authored-by: Justin Ehrenhofer <justin.ehrenhofer@gmail.com>
2023-06-09 14:46:00 +03:00
Godwin Asuquo
e8446f0c98
CW-400 investigate cupertino nav bar null exception (#943)
* Fix null error on back navigation after pushReplacementNamed

* Fix null error on back navigation after pushReplacementNamed

* Close all visible keyboard for page navigation context

* Fix issue with market place navigation

* Remove focus before back navigation

* Fix background color

* Fix background color

* Fix background color
2023-06-08 02:16:52 +03:00
Serhii
c835059d13
CW-371-Restore-height-issue-with-QR-code-Wallet-incorrectly-assigns-today's-restore-height-to-legacy-wallets (#925)
* fix height for legacy wallets

* get height by first tx under singular seed
2023-05-25 00:00:54 +03:00
Adegoke David
43e062d1ac
Cw-263-TOTP-2FA-In-Security-Settings (#892)
* CW-263-TOTP-2FA-in-security-settings WIP

* Implement TOTP 2FA WIP

* Implement TOTP 2FA Authentication

* chore: Remove unneeded formatting

* revert formatting

* fixes

* CW-263-TOTP-2FA-in-security-settings WIP

* Setup TOTP Complete, left with Modify TOTF

* CW-263-TOTP-2FA-in-security-settings

* CW-263-TOTP-2FA-in-security-settings

* CW-263-TOTP-2FA-in-security-settings

* fix: Add copy-to-clipboard for qr secret key

* fix: Translation

* chore: Move strings into translation files

* feat: End to end flow for TOTP

* hotfix: Switch totp to use sha512

* Update strings; 8 digits and error explanation

* fix: Totp 2fa implementation feedback

* hotfix: same action for button and alert close

* feat: App should show both normal and totp auths when totp is enabled

* hotfix: prevent barrier from dismissing

* fix: Changes requested during PR review

* - Minor Enhancements
- Minor UI fixes

---------

Co-authored-by: Justin Ehrenhofer <justin.ehrenhofer@gmail.com>
Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2023-05-17 17:43:23 +03:00
Rafael Saes
7fa7c45c0c
CW-370-add-options-to-enable-disable-buy-and-sell-actions (#920)
* feat: In the privacy settings screen, add 2 options to Enable/Disable Buy and Sell actions

* fix: add strings

* fix: add the rest of the strings

* fix: disable instead of hide buy & sell buttons

* fix: use disableSell

* fix: main actions able to be onTapped even when disabled
2023-05-15 15:26:56 +03:00
Omar Hatem
1a3d47748d
V4.6.4 bug fixes (#922)
* Fix Concurrent modification exception

* Fix minor UI issues

* Change onramper crypto asset name for Litcoin

* Fix secure storage issue, fetching password/PIN with null

* - Fix Navigation issue while keyboard is displaying
- Remove deprecated screen

* Take currency From/To info from our trade not the returned one

* Fix anon pay fields UI

* Fix Anonpay border/icons UI

* Add extra padding in QR image as a safe layer

* Generalize ignored connection error

* Remove Bio Auth option from desktop

* Fix some Transaction info not parsed correctly
2023-05-10 16:58:31 +03:00
Serhii
086019d926
CW-365-Wallet-QR-codes-not-working-properly-on-some-devices (#909)
* add exception for range error

* add app links for wallets

* Update reference to qr.flutter clone

* QrImage update

* Update fullscreen_qr_page.dart

* Add automatic version for wallet QR

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2023-05-08 23:30:14 +03:00
Godwin Asuquo
9714961298
CW-260 show amount received for each account (#907)
* Show amount received for each account

* Enable litcoin send all

* disable litcoin send all

* Indent code

* Fix large font resolution for account title
2023-05-05 15:58:41 +03:00
Serhii
f47f690803
fix getting correct currency from template (#898) 2023-05-03 10:01:51 +03:00
Omar Hatem
9d47e0e67c
V4.6.3_1.3.3 (#893)
* - Update App versions
- Add release notes

* Modify Monero.com release notes

* Fix issues with Frozen balance for Monero.com build

* Update cake wallet app build number
2023-04-24 14:02:17 +02:00
Serhii
1eb8d0c698
CW-229 Improved restore options from QR code (#793)
* add restoring wallet from qr

* add restore mode

* add alert for exceptions

* add restore from seed

* add check for create wallet state

* convert sweeping page into stateful

* fix parsing url

* restoration flow update

* update restoring from key mode

* update config

* fix restor of BTC and LTC wallets

* fix pin code issue

* wallet Seed/keys uri or code fix

* fix key restore credentials

* update the restore workflow

* update from main

* PR coments fixes

* update

* update

* PR fixes
2023-04-21 20:36:47 +02:00
Godwin Asuquo
f2b8dd21a1
CW-240 Receive fiat currency amount and receive animations (#877)
* Redesign receive amount field

* Fix issues with animations

* Fix issues with animations

* Fix max fraction digit to 8

* add another 0

* Update amount when currency is changed

---------

Co-authored-by: Justin Ehrenhofer <justin.ehrenhofer@gmail.com>
Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2023-04-21 20:03:42 +02:00
Serhii
8ffac75e8c
CW-59-New-update-highlight-popup (#863)
* add update pop up

* add release notes for monero com

* PR comments fixes

* Pr coments fixes

* minor fixes

* update from main

* [skip ci] remove unrelated mac os files

* add check isNewInstall

* update pop-up UI

* fix size

* Add update popup to desktop dashboard page [skip ci]

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2023-04-21 17:21:31 +02:00
Serhii
315c4c911c
CW-325-Coin-Control-enhancements (#846)
* fix checkbox

* save the output state

* add note as a header

* Allow copy the Amount and Address

* add frozen balance to dashboard

* add block explorer

* fix url launcher

* code formatting

* minor fixes

* Revert "minor fixes"

This reverts commit d230b6a07b.

* fix missing implementations error

* [skip ci] update localization

* fix unspent with same txid

* add amount check

* add vout check

* remove formattedTotalAvailableBalance

* remove unrelated mac os files
2023-04-20 15:46:41 +02:00
Serhii
f26815efb8
CW-351-Add-option-in-Privacy-settings-to-enable-disable-screenshots (#885)
* add prevent screenshots option

* fix prevent screen recording

* update localization

* Update strings_ja.arb
2023-04-20 11:59:59 +02:00
Adegoke David
7b91b0e938
Cw 262 better handle user exchange amount below minimum or maximum trade size (#868)
* CW-262-Better-handle-user-exchange-amount-below-minimum-or-maximum-trade-size

* fix: App should compute conversion even if it's not within the limits
2023-04-20 03:13:37 +02:00
Omar Hatem
9e7009f339
V4.6.2 Bug Fixes (#874)
* Added a temporary workaround for empty receive addresses

* Fix Typo in PR template

* Make existing node private [skip ci]

* Fix transactions page background color [skip ci]

* Update ios version for internal test build [skip ci]

* update macos version for internal test build [skip ci]
2023-04-17 21:09:26 +02:00
Godwin Asuquo
a472527c6f
CW-33 Add app review after successful transactions and exchange (#864)
* Add app reveiw on transactions and exchange

* Update Onramper page

* Fix issues in popup review
2023-04-17 20:06:58 +02:00
Adegoke David
4a203a43c8
CW-331-Add-option-to-disable-market-place-in-display-settings (#872)
* CW-331-Add-option-to-disable-market-place-in-display-settings [skip ci]

* CW-331-Add-option-to-disable-market-place-in-display-settings [skip ci]
2023-04-16 15:45:35 +02:00
Rafael Saes
77ab6b49f4
feat: Add Click to Copy for the Exchange Amount in the invoice (#882)
Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2023-04-16 15:27:33 +02:00
Serhii
3b69aa8686
CW-273-Don't-add-node-under-Advanced-Privacy-Settings-if-it-already-exists (#876)
* don't add existing node

* minor fixes

* Add back IsExecutingState to connect [skip ci]

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2023-04-14 20:55:12 +02:00
Omar Hatem
c5477e4f9e
Dashboard desktop view (#737)
* Add build scripts for macOS. Add macos for cw_monero plugin. Add macos proj to the application.

* - Update Flutter secure storage to work with macos
- Enable uni links only on Mobile
- Update devcelocale to work with macos

* Add network access to mac

* Change Dashboard view on desktop size screens

* Add on Tap to desktop_action_button.dart
Remove unused functions

* Fix arch match for monero lib for darwin x86_64 -> x86-64

* Add Bundle ID in entitlements files through app config script

* Update deployment target to 10.13

* Revert back to Cake fork for secure storage

* Revert back to Cake fork for secure storage

* Revert mac os version

* Revert mac os version

* Add platform channel specific code for mac os

* Add desktop sidebar

* [skip ci] Add desktop sidebar

* [skip ci] Add desktop sidebar

* - Remove legacy migration from macos
- Remove wake lock native code and just use the ready made package

* Remove wake lock native code and just use the ready made package

* Remove unstoppable domain from macos since it's not supported

* Temporarily fetch unstoppable domains only on mobile

* refactor desktop settings sidebar

* Ignore increasing brightness for non-mobile platforms

* Add Wallet selection dropdown to dashboard desktop view

* Generate MacOS icons

* localize settings

* fix dashboard sidebar and responsive utils

* Change Mac os app name and bundle id

* Fix exchange page as fullScreenDialog

* Remove constants

* - Refactor onRamper to have a single point of modification
- Enlarge initial app size
- update Flutter and Packages

* Add pubspec.lock and Podfile.lock to gitignore

* Remove Podfile.lock from cache

* Fix bug on sidebar reset

* Fix issues from code review

* [skip ci] reformat desktop dashboard

* [skip ci] reformat desktop dashboard

* Revert removing .lock files

* Revert changes in .gitignore

* [skip ci] remove .project changes

* [skip ci] remove .project changes

* Separate Dashboard desktop view from mobile view

* constraint images and pincoded box

* Remove drawer from mac os

* - Listen to keyboard events in PIN screen
- Fix PIN buttons style

* Fix desktop nav bar UI

* Add Marketplace to dashboard view

* Update trailing icon to open transaction page

* Update widget contraints

* Add empty trailing to center page title on desktop

* Refresh desktop dashboard actions on wallet change

* Change ionia welcome page animation

* Fix Constrained width screens UI

* Refactor sidebar state management

* remove empty line

* Add max width constrain to Welcome page

* Change Exchange page UI depending on platform

* - Change design/paddings for Send page on desktop view
- Make AddTemplateButton instead of having it duplicated in send/exchange

* Fix Desktop dashboard actions background color

* Constrain primary Buttons width

* Make side menu items toggle back to dashboard

* Add padding to support page

* Add width constraints to desktop dashboard

* Fix UI issues, paddings and alignments

* Rename misleading variable
Change initial mac window size

* Fix wallet create in settings

* remove unnecessary code

* remove unnecessary code

* Remove duplicated constrains

* - Use close icon on main screens
- Minor UI fixes

* fix pageview controller reset index

* Add create and restore wallet options to dropdown menu

* Fix desktop background color and address book view issues

* Fix input field

* Add onFieldSubmitted to allow "enter" button interaction

* Fix issue from code review

* Fix Popup width constraint and add focus orders

* Fix variable name

* Fix issues from code review

* refactor dropdown items

* Fix alignment in create and restore wallet screens

* Fix dropdown change state bug

Hide scanner for desktop

* remove space

* override navbar with desktopnavbar

* Remove autofocus

* remove unused code

* Fix ionia input field alignment

* Replace removed code

* Add app lock feature on mac

* Add assertion to avoid null

* Add Nano currency image

* Enable adding contact from send screen

* Fix UI issues
Add missing translation

* pop only PIN screen after successful auth

* Add back wallet settings page to desktop settings actions

* Fix Navigation animation for settings screens

* Fixate MobX version to fix restore issue

* CW-324 Refresh current settings page if wallet changed (#811)

* Fix refresh current settings page if wallet changed

* Fix refresh current settings page if wallet changed

* Refresh Wallet Seeds/Keys List upon wallet change

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>

* Remove navigation workaround for duplicate key, and fix the issue by handling creation/disposing of global key (#840)

* Cw 323 add wallet list to settings on mac (#843)

* Remove navigation workaround for duplicate key, and fix the issue by handling creation/disposing of global key

* - Register Wallet List as singleton in Desktop to be modify the same instance from settings and dropdown
- General Fixes and Enhancements

* Fix Changing/Restoring wallet from settings

* Fix Create wallet not showing seeds screens if launched from settings

* Add max width constraint for Alerts

* - Add Desktop API keys
- Fix Change back up password issue
- Fix Popup width

* Sync Mac with latest main updates

* Swap Transactions icon with lock icon

* Save backup file locally on desktop

* Sync with latest main updates

* Fix Navigation issues with anonpay

* Update macos build version

* Remove deprecated custom wake lock code for Android

* Remove Legacy CryptoSwift package from MacOS

* - Refactor Payfura page code
- Add OnRamper new configs to onramper_buy_provider.dart
- Fix Conflicts with main

* Updated device locale package

* Update android tools

* Revert changes and update only gradle version

* Downgrade android tools version

* Update gradle version

* Update package/gradle/plugin version

* - Fixate device locale version
- Downgrade gradle version

* Update kotlin version

* Update gradle version

* Trial for a custom fork from devicelocale

* Fixate shared preferences package version

* Revert gradle version

* Revert kotlin version

* Downgrade gradle version

* Downgrade gradle version

* Repair cache and clean before build

* Fixate flutter version

* update google services version

* revert google services version

* Force shared pref android version

* Override shared prefs android package version

* Override shared prefs android package [skip ci]

---------

Co-authored-by: M <m@cakewallet.com>
Co-authored-by: Godwin Asuquo <godilite@gmail.com>
Co-authored-by: Godwin Asuquo <41484542+godilite@users.noreply.github.com>
2023-04-14 06:39:08 +02:00
Omar Hatem
37ef63d09e
V4.6.1 report fixes (#859)
* Add exception handler to anypay api response failure

* Check if context is still mounted before fetching iPad position

* Add user connection issue to ignored errors

* Wrap launchURL in empty try catch to avoid package un-needed exceptions
2023-03-31 21:14:22 +02:00
Serhii
72df78ad8c
CW-335-Add-Payfura-widget-for-XMR-Buy (#857)
* add payFura widget

* Update pr_test_build.yml

* Change Buy strings

Also add Sell string to ZH, which was missing

* minor fixes

* update alert for monero.com

---------

Co-authored-by: Justin Ehrenhofer <justin.ehrenhofer@gmail.com>
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2023-03-31 20:34:39 +02:00
Serhii
9f1325ba0f
Merge pull request #853 from cake-tech/CW-339-Advanced-settings-page-crash-on-a-fresh-install
CW-339-Advanced-settings-page-crash-on-a-fresh-install
2023-03-31 15:53:45 +03:00
Serhii
f579f67c15 [skip ci] minor fix 2023-03-31 15:42:48 +03:00
Serhii
3e43e899a5 truncate exchange amount 2023-03-31 12:45:54 +03:00
Serhii
1ff4b9bf88 fix node editing 2023-03-30 18:39:43 +03:00
Serhii
045852ec4d fix fresh install bug 2023-03-30 15:43:34 +03:00
Godwin Asuquo
3006679560
Cw 314 trocador receive screen update (#823)
* Change receive screen ui

* Upgrade flutter packages

* revert Upgrade flutter packages

* revert Upgrade flutter packages

* Adjust flow for anon invoice page navigation

* Add receive screen ui

* Implement anonpay invoice

* Add invoice detail to transactions page

* Implement donation link

* Fix transaction filter and details view

* Save donation link

* Fix transaction display issues

* Fix formatting

* Fix merge conflict

* Fix localization

* Fix transaction amount display

* Fix transaction limit for fiat

* Update fix from code review

* Fix issues from code review

* Make amountTo nullable to avoid potential

* Remove encoding for description in donation link

* Remove optional params from request

* Fix QR image version

* Refactor QRCode, fix issues from code review

* Pass version to QRCode full page

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2023-03-24 17:26:42 +02:00
Serhii
7dfc5b23bc
CW-243-Better-error-message-for-too-many-decimals (#818)
* update amoung validation

* fix decimal validator

* minor fix
2023-03-15 19:22:08 +02:00
Serhii
fc2627df38
CW-319-Wallet-Seed-keys-URI-QR-code (#831)
* wallet QR code on Wallet/Seed screen

* fix restore height for new wallet

* fix height parameter

* fix currenHeight and HeightByDate for haven

* update configure.dart

* fix coments

* minor fix
2023-03-15 17:30:06 +02:00
Serhii
f458e5b349
CW-277-Allow-editing-nodes (#827)
* allow editing nodes

* fix buttons size

* fix comments
2023-03-15 15:24:38 +02:00
OmarHatem
de62987338 Add Fiat API mode to advanced privacy settings page 2023-03-02 19:13:00 +02:00
OmarHatem
8625e33537 Merge branch 'CW-282-add-trocador-exchange' of https://github.com/cake-tech/cake_wallet into CW-317-change-fiat-api
 Conflicts:
	lib/src/screens/settings/privacy_page.dart
2023-03-02 18:58:23 +02:00
Godwin Asuquo
15237d5f79 Fix issues from code review 2023-03-02 17:13:25 +02:00
Godwin Asuquo
b0175719b9 Fix issues from code review 2023-03-01 23:44:15 +02:00
Godwin Asuquo
dbfbadffda Filter to use Tor only exchange 2023-03-01 15:50:31 +02:00
OmarHatem
ce4b1cd4ae Update fiat API version
Enable Tor support for Fiat
2023-02-28 18:23:21 +02:00
Omar Hatem
9fcb379d19
Merge pull request #784 from cake-tech/fix-support-page-links
Fix Support links
2023-02-27 18:39:35 +02:00
OmarHatem
f470723ece Add try/catch block in case launch url throws a platform exception 2023-02-27 16:07:22 +02:00
OmarHatem
f49695f417 Fix support links/emails not opening 2023-02-13 20:44:23 +02:00
Serhii
a3f332342f minor fix 2023-02-13 18:46:53 +02:00
Serhii
8bae7d2179 minor fix 2023-02-12 16:22:05 +02:00
Serhii
e464d4a70a Merge branch 'main' into CW-285-Show-number-of-confirmations-in-transactions-screen-for-Monero-and-Haven-if-10 2023-02-10 00:06:57 +02:00
Serhii
25228eb633 fix confirmations 2023-02-10 00:01:58 +02:00
Justin Ehrenhofer
11a5831b08 Fix support URLs 2023-02-08 13:33:54 -06:00
Serhii
c10105872c add number of confirmations to transactions 2023-02-08 18:47:12 +02:00
OmarHatem
27f242a5ee Use view model variable hasRescan instead [skip ci] 2023-02-08 18:45:38 +02:00
OmarHatem
e67b484613 - Fix RangeError due to changes in _tradeAvailableProviders while the Futures complete
- Silently catch "Concurrent modification during iteration"
2023-02-07 23:48:10 +02:00
Godwin Asuquo
f1b0a5adb6 Add trocador provider and password to transaction details 2023-02-07 19:39:39 +02:00
Godwin Asuquo
f770e095a1 Fix advance privacy setting set state 2023-02-07 17:12:34 +02:00
Godwin Asuquo
70238c1308 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-282-add-trocador-exchange 2023-02-06 21:48:31 +02:00
Godwin Asuquo
032a8c8c33 Add trocador exchange provider 2023-02-06 21:20:43 +02:00
Serhii
50f1c051f9 Merge branch 'main' into CW-302-Update-Cake-Pay-checkout-wording-for-Bitcoin-only 2023-02-02 12:54:15 +02:00
Omar Hatem
e42e3f8ba4
Merge pull request #732 from cake-tech/CW-247-Exchange-confirmation-screen-address-labels
CW-247 exchange confirmation screen address labels
2023-01-30 21:24:32 +02:00
Omar Hatem
194902d8cb
Merge pull request #733 from cake-tech/CW-296-Edit-sub-address-grey-screen
CW-296 fix editing label subaddresses
2023-01-26 19:35:06 +02:00
Serhii
ed30cf1e13 [skip ci] minor fixes 2023-01-26 19:07:19 +02:00
Serhii
cce56a61a3 minor fixes 2023-01-26 13:33:33 +02:00
Serhii
71d5a9b790 Merge branch 'main' into CW-247-Exchange-confirmation-screen-address-labels 2023-01-26 11:54:03 +02:00
Serhii
337e311d4f Update Cake Pay checkout wording 2023-01-25 18:21:10 +02:00
OmarHatem
ddd5b1ecb3 Fix QR scheme to compare with currency full name not the abbreviated one 2023-01-25 15:29:59 +02:00
Serhii
912a4af866 fix nullable type 2023-01-20 23:18:58 +02:00
Serhii
b8f74e50db [skip ci] specify class type 2023-01-20 14:48:44 +02:00
Serhii
8c016e946c fix editing label subaddresses 2023-01-17 14:14:02 +02:00
Serhii
4636aacae7 formatting 2023-01-16 17:31:31 +02:00
Serhii
b4249f21a9 add payout address item to confirmation screen 2023-01-16 17:27:49 +02:00
Serhii
7f37bd3d59 update localization files 2023-01-14 23:29:47 +02:00
Serhii
e53602afa3 Add alert for onion nodes 2023-01-05 12:53:05 +02:00
Omar Hatem
a0e98e6d90
Merge pull request #624 from cake-tech/fix-trade-details-screen-UI
fix UI on trade details screen with new design CW-138
2023-01-03 16:04:37 +02:00
Omar Hatem
9bd0de6d08
Merge pull request #625 from cake-tech/CW-122-Rework-filter-on-the-transactions-list-screen
[CW-122] rework filter on the transactions list screen
2022-12-28 20:50:17 +02:00
Omar Hatem
4bf2fa6216
Merge pull request #525 from cake-tech/CW-175-Refactoring-of-crypto-currency-list
[CW-175] refactoring of crypto currency list
2022-12-27 23:02:31 +02:00
Serhii
ca79052914 PR fixes 2022-12-26 20:41:21 +02:00
Serhii
00c008ed8b Merge branch 'main' into CW-122-Rework-filter-on-the-transactions-list-screen 2022-12-16 15:14:13 +02:00
Omar Hatem
d1832aa510
Merge branch 'main' into CW-225-pin-timeout 2022-12-13 20:40:20 +02:00
Omar Hatem
b21bcf3652
Merge pull request #657 from cake-tech/CW-66-open-app-from-qr-code
Cw 66 open app from qr code
2022-12-13 20:38:06 +02:00
Godwin Asuquo
dbf214ee1b [skip ci] fix issues from code review 2022-12-13 18:26:25 +01:00
Godwin Asuquo
f15bc28219 [skip ci] fix issues from code review 2022-12-13 16:19:31 +01:00
Godwin Asuquo
0d889416d4 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-161-partial-redemption-fix 2022-12-13 06:44:34 +01:00
OmarHatem
01024b6694 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-66-open-app-from-qr-code
 Conflicts:
	lib/di.dart
	lib/src/screens/send/send_page.dart
	lib/src/screens/send/widgets/send_card.dart
	lib/view_model/send/send_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-12-12 15:41:16 +02:00
Serhii
7d08bb0e76 Add SimpleSwap 2022-12-12 00:37:03 +02:00
Serhii
b536973077 make checkbox stateless 2022-12-12 00:07:05 +02:00
Serhii
ff28dfbb9c Rename Change.NOW 2022-12-10 11:40:04 +02:00
Serhii
b9ef71749e Merge branch 'main' into CW-122-Rework-filter-on-the-transactions-list-screen 2022-12-09 23:35:14 +02:00
Godwin Asuquo
6836ac6d1a Fix formatting 2022-12-09 20:18:36 +01:00
Godwin Asuquo
f6c5f96929 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-225-pin-timeout 2022-12-09 19:42:36 +01:00
Godwin Asuquo
07ea937d37 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-225-pin-timeout 2022-12-09 19:42:07 +01:00
OmarHatem
f97a4fec28 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-239-fix-restore-from-backup-using-6-digit-pin
 Conflicts:
	lib/store/settings_store.dart
2022-12-09 20:29:50 +02:00
Godwin Asuquo
9ef1186c45 Fix issues from code review 2022-12-09 17:08:52 +01:00
OmarHatem
4140742bb9 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-239-fix-restore-from-backup-using-6-digit-pin
 Conflicts:
	lib/store/settings_store.dart
2022-12-09 15:59:25 +02:00
OmarHatem
1ef8ef269c Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-118-Allow-disabling-of-fiat 2022-12-08 21:17:59 +02:00
Omar Hatem
3edba88b96
Merge pull request #667 from cake-tech/CW-271-fixed-rate-incorrect-amount
[Cw 271] fixed-rate incorrect amount
2022-12-08 21:14:54 +02:00
OmarHatem
4b1e9a10eb - Rename calculateAmount to fetchRate to be more descriptive
- Add Disable Exchange change reaction to save in shared prefs [skip ci]
2022-12-08 21:14:42 +02:00
OmarHatem
6395d6b2f7 - Add Disable fiat API option to advanced privacy settings 2022-12-08 14:10:58 +02:00
OmarHatem
fddac23b94 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-118-Allow-disabling-of-fiat
 Conflicts:
	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-12-08 14:01:20 +02:00
Omar Hatem
f3b89a2c7f
Merge pull request #601 from cake-tech/CW-159-Filter-address-book-by-type
[CW-159] filter contacts and wallets by type
2022-12-08 13:51:01 +02:00
Serhii
2becd32ab8 Merge branch 'CW-118-Allow-disabling-of-fiat' of https://github.com/cake-tech/cake_wallet into CW-118-Allow-disabling-of-fiat 2022-12-08 09:56:08 +02:00
Serhii
a1dd22232b [skip ci] fix fiat settings display 2022-12-08 09:56:04 +02:00
OmarHatem
55b37164dc - Make getters to ease attribute access
- Add the old 'disable_fiat' translation
- rename getters to be more bool like names
2022-12-07 22:07:32 +02:00
OmarHatem
0da48f66fe Delegate returning rate to each provider to handle its logic internally 2022-12-07 21:09:15 +02:00
Godwin Asuquo
0203f686c5 fix issue with custom redeem amount remaining 2022-12-07 18:12:45 +01:00
OmarHatem
8ff8cf38b8 Check if the provider supportsFixedRate only if fixed rate is applied [skip ci] 2022-12-07 18:15:30 +02:00
OmarHatem
c235df8935 - Fix reloading settings store
- Revert changes to backup_service.dart
2022-12-07 16:41:04 +02:00
Serhii
37ca795756 [skip ci] change fiat api UI to swich mode 2022-12-07 15:31:33 +02:00
Serhii
f4148e0989 [skip ci] rework UI for disable fiat mode 2022-12-07 12:44:08 +02:00
OmarHatem
f14c01303f - Add whether this provide supports fixed rate or not
- Fix Change now fixed rate exchange due to wrong rate id
2022-12-06 19:23:46 +02:00
Serhii
214c1fe0db Merge branch 'main' into CW-118-Allow-disabling-of-fiat 2022-12-06 17:37:12 +02:00
OmarHatem
36c2702688 - Recalculate best rate if isFixedRate changed
- check limits against the receive amount if isFixedRate
2022-12-06 13:30:11 +02:00
Godwin Asuquo
c156691e09 [skip ci] undo formatting in di 2022-12-05 20:14:46 +01:00
OmarHatem
3aa0e626ff Pass selected currency to the view model instead of the UI 2022-12-05 18:37:35 +02:00
Godwin Asuquo
65cbdd3fbb Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-225-pin-timeout 2022-12-05 13:33:17 +01:00
OmarHatem
9eb8a442d8 Allow setting the new added node as the current selected node 2022-12-04 17:30:09 +02:00
OmarHatem
9d64789983 Fix Conflict with main
Rename classes to advanced privacy settings to avoid confusion between settings/privacy-settings
2022-12-04 05:08:42 +02:00
OmarHatem
f792b58338 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-180-advanced-startup-privacy-settings
 Conflicts:
	lib/di.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-12-04 04:34:32 +02:00
Omar Hatem
dc60123f79
Merge pull request #529 from cake-tech/CW-182-allow-trusted-nodes
Cw 182 allow trusted nodes
2022-12-04 02:17:35 +02:00
Omar Hatem
707df3717d
Merge pull request #662 from cake-tech/CW-259-fix-change-now-trade
[CW-259] Fix Change now trade issue
2022-12-03 23:49:45 +02:00
Serhii
5f1e8e9d33 remove isEditable parameter 2022-12-02 23:36:22 +02:00
OmarHatem
116e468581 calculate best rate based on deposit/receive amount 2022-12-02 23:20:06 +02:00
OmarHatem
3bcd31ac44 calculate best rate based on min/max amount 2022-12-02 20:38:16 +02:00
OmarHatem
091ac41ee2 allow null minimum amount in limits 2022-12-01 22:37:13 +02:00
OmarHatem
dd99508d3e Fix static amount value for determining best rate and replace it with the input the user types 2022-12-01 22:11:51 +02:00
Omar Hatem
bfcd3ee002
Merge pull request #643 from cake-tech/CW-223-settings-reorganization
Cw 223 settings reorganization
2022-12-01 21:37:43 +02:00
OmarHatem
914fffe51c Initialize wallet directly from constructor argument [skip ci] 2022-12-01 21:33:17 +02:00
Godwin Asuquo
03748d680a [skip ci] format files 2022-12-01 21:21:51 +02:00
Godwin Asuquo
8511805ee3 Fix correct adjusted amount for custom redeem 2022-11-30 10:00:05 +02:00
Serhii
5cb4b7e2d4 Merge branch 'main' into fix-trade-details-screen-UI 2022-11-29 20:04:44 +02:00
Justin Ehrenhofer
6685fb5804 [CW-257] Change Bitcoin block explorer to mempool.space 2022-11-29 11:05:38 -06:00
OmarHatem
0d685823ce Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-66-open-app-from-qr-code
 Conflicts:
	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-29 17:45:31 +02:00
Serhii
ab499c9069 Merge branch 'main' into CW-122-Rework-filter-on-the-transactions-list-screen 2022-11-28 22:33:54 +02:00
Serhii
189a886fe2 Merge branch 'main' into CW-175-Refactoring-of-crypto-currency-list 2022-11-28 22:21:59 +02:00
Serhii
a5cfc7fa61 Merge branch 'main' into CW-159-Filter-address-book-by-type 2022-11-28 22:20:04 +02:00
Godwin Asuquo
7da2de60cb Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-225-pin-timeout 2022-11-28 18:27:21 +02:00
Godwin Asuquo
3acbfbae79 Fix issues from code review 2022-11-25 22:51:07 +02:00
Godwin Asuquo
63df8c6b6f Merge branch 'main' of https://github.com/cake-tech/cake_wallet into CW-223-settings-reorganization 2022-11-23 22:54:24 +02:00
Godwin Asuquo
5462836b8d seperate settings view model 2022-11-23 19:06:41 +02:00
Serhii
d7d3b78905 refactoring mapFomString method 2022-11-23 13:47:02 +02:00
Godwin Asuquo
0fcd72f821 format indent code 2022-11-23 09:05:47 +02:00
Godwin Asuquo
818a8afe20 [CW-225] Add pin timeout setting 2022-11-22 22:52:28 +02:00
Serhii
50d32021f6 Merge branch 'main' into CW-118-Allow-disabling-of-fiat 2022-11-22 19:48:43 +02:00
Serhii
92328c4102 move logic to viewmodels 2022-11-22 19:33:24 +02:00
Omar Hatem
9b32c9c956
CW-227 Add Disable Exchange option to settings (#642)
* Add Disable Exchange option to settings
2022-11-21 21:18:18 -05:00
Omar Hatem
bcf09b048c
Cw 220 fix grey exchange screen (#641)
* Fix nullability issue for ChangeNow rateId

* Handle concurrent modification error from Splay Tree
2022-11-21 20:52:03 -05:00
Serhii
1a089eaa60 Merge branch 'main' into CW-159-Filter-address-book-by-type 2022-11-21 22:03:06 +02:00
Godwin Asuquo
c67e8c5037 [CW-233] Fix missing display balance setting 2022-11-18 20:53:35 +02:00
OmarHatem
a82803de3a Fix Casting issue 2022-11-18 20:32:52 +02:00
Godwin Asuquo
549975ecc1 Reorganize settings 2022-11-16 09:29:14 +02:00
Serhii
269b4c25ab Merge branch 'main' into CW-122-Rework-filter-on-the-transactions-list-screen 2022-11-14 11:21:06 +02:00