Commit graph

2639 commits

Author SHA1 Message Date
Godwin Asuquo
bf0c2c8f35
Add all deposit for litcoin (#932) 2023-07-11 03:52:40 +03:00
Rafael Saes
cb0ca169fb
Cw 372 improve monero haven account selection picker (#939)
* refactor: Improve Monero/Haven account selection picker

* feat: If the amount would be wrapped, instead display it under the account name

* fix: balance str

* refactor: add theme changes

* refactor: remove duplicate observer
2023-07-11 03:40:43 +03:00
Serhii
c01321008b
CW-427-Refactor-wallet-type-selection-UI (#968)
* refactor the asset selection screen

* formatting

* ui fixes

* remove Ethereum related
2023-07-10 18:12:15 +03:00
Rafael Saes
49e2e05a72
feat(strings): create new script to auto translate all files (#992)
* feat(strings): create new script to auto translate all files

* - Fix path issue in append_translation.sh
- Document flow for using it
- Reformat localization files

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2023-07-10 16:54:22 +03:00
Serhii
9afed201c6
CW-424-ChangeNOW-add-payload-details (#979)
* add payload details

* remove unused import

* fix payload
2023-07-08 05:30:05 +03:00
Serhii
93eda7c206
CW-417-Additional-callouts (#976)
* add available balance description

* add sync description

* Update URL [skip-ci]

* Update balance_page.dart

---------

Co-authored-by: Justin Ehrenhofer <justin.ehrenhofer@gmail.com>
2023-07-07 14:47:55 +03:00
Justin Ehrenhofer
bb75472a83
Remove defaultFiat (#972)
Logic can be better handled by IP
2023-06-22 05:20:50 +03:00
Omar Hatem
e9b5c79a1e
V4.6.7 v1.3.8 (#971)
* - Replace payfura widget with direct browser link
- Remove Payfura widget class as it is duplicate for the web view page

* Revert removing swipe to delete wallet feature

* Pump app versions and update release notes
2023-06-20 15:27:07 +03:00
Omar Hatem
c4926ae63a
V4.6.6 fixes (#970)
* Fix popping wrong context in exchange page

* Pass exception handler to wallets code

* Fix mobile UI with iPad view

* Set iPhone deployment target to 11 [skip ci]

* Update Macos deployment target [skip ci]
2023-06-16 04:14:01 +03:00
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
f88e150cd1
fix Electrum transaction updates (#953) 2023-06-14 23:53:58 +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
Godwin Asuquo
affc35f335
CW-342 Enable Mac Layout on iPad (#958)
* Add iPad responsive layout

* Set magic number to position input field on wider screens

* Adjust screen resolution

* Update target device family for ios

* Add icons for iPad

* Revert width adjustment for ipad

* Fix overflowing balance

* Fix overflowing balance

* Fix PR issues

* Remove unused icons [skip ci]

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2023-06-14 02:04:52 +03:00
Rafael Saes
e84d02f661
CW-383-replace-swipe-to-delete-wallet-action-with-a-delete-trash-icon-on-the-right (#935)
* feat: replace "swipe to delete" wallet action with a delete / trash icon on the right

* fix: remove InkWell and _actionPane actions

* feat: add a bit of padding from the end
2023-06-10 01:31:05 +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
Adegoke David
3b073d9751
Cw-410 Null Issue With 2FA (#960)
* chore: Setup

* hotfix: null check operator used when totp arguments are null causing issues

* hotfix: null check operator used when totp arguments are null causing issues

* hotfix: null check operator used when totp arguments are null causing issues

* hotfix: null check operator used when totp arguments are null causing issues

* fix: Review changes

---------

Co-authored-by: David Adegoke <blazebrain@Davids-MacBook-Pro.local>
2023-06-06 15:13:49 +03:00
Mathias Herberts
8747d2fe59
Fixed for v4.6.4 (#955) 2023-06-05 16:41:15 +03:00
Mathias Herberts
5e270df568
Fixed 2FA related French localization (#956) 2023-06-05 16:40:34 +03:00
Godwin Asuquo
ce8e498cac
Revert rename nga flag (#952) 2023-06-01 15:46:17 +03:00
Omar Hatem
19cbc40e81
New versions 4.6.6 and 1.3.7 (#949)
Disable 'prevent screenshots' option from Desktop since it's not supported yet
2023-05-26 21:13:22 +03:00
Godwin Asuquo
75c65d67bf
CW-404 Add yoruba language (#946)
* Add Yoruba translation

* Add Yoruba localization

* Rename flag
2023-05-25 20:30:21 +03:00
Omar Hatem
4e4b3c7a56
Update Monero package (#942) 2023-05-25 15:46:45 +03:00
Rafael Saes
baabc0a915
Cw 373 theme refactoring in preparation to support additional themes (#933)
* refactor(Theme): migrate accentColor

- based on the specs at https://docs.flutter.dev/release/breaking-changes/theme-data-accent-properties#migration-guide.

* refactor(Theme): all deprecated TextTheme styles

* refactor(Theme): deprecated backgroundColor for colorScheme.background

* refactor(Theme): deprecated buttonColor to use TextTheme backgroundColor instead

* refactor(Theme): deprecated isAlwaysShown to use thumbVisibility instead
2023-05-25 02:19:51 +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
Serhii
18ba724009
CW-379-Investigate-trade-ID-status-updates (#930)
* cancel Anonpay updateInvoice timer

* Remove un-needed dependency injection of anonpayDetailsViewModel since it can be accessed via the parent class [skip ci]

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2023-05-24 19:12:42 +03:00
Justin Ehrenhofer
53c55523c2
Ionia don't->didn't (#941) 2023-05-24 19:02:28 +03:00
Rafael Saes
9668863655
CW-320-validate-address-case (#934)
* feat: allow all-lowercase OR all-uppercase ltc1 addresses (btc1 already working)

* fix: ltc length
2023-05-24 16:48:06 +03:00
Godwin Asuquo
1ac74b3182
CW-388 Add hausa language (#936)
* Add hausa language

* Add hausa language

* Add cupertino delegete

* Add flag to git

* - Fix hausa_intl.dart issue
- Fix menu items not updating properly
- Fix Nav bar issue

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2023-05-19 17:33:16 +03:00
Godwin Asuquo
1e868f876e
CW-352 add enable disable screenshot feature to i os (#931)
* Disable ios screen recording

* Minor Enhancements

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2023-05-17 18:34:41 +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
40f3ccbe42
Cw 268 contact address validation (#905)
* feat: Proper Bitcoin address validation in exchange screen

* fix: use custom validation in addition to RegEx to make sure all address cases are validated

- for cases like P2SH addresses starting with a 3, which are not validated by bitcoin_flutter functions

* feat: add bitcoin_flutter to root project

* refactor: improve conditional isValid return chain

* feat: enhance contact page address validation

- only shows address box when a currency is selected, to prevent the selected value from being null
- changes TextValidator() for the new AddressValidator()

* fix: use -1 for initial selectedAtIndex, since there is no currency yet selected
2023-05-15 15:43:52 +03:00
Rafael Saes
0231298381
CW-254-proper-bitcoin-address-validation-in-exchange-screen (#900)
* feat: Proper Bitcoin address validation in exchange screen

* fix: use custom validation in addition to RegEx to make sure all address cases are validated

- for cases like P2SH addresses starting with a 3, which are not validated by bitcoin_flutter functions

* feat: add bitcoin_flutter to root project

* refactor: improve conditional isValid return chain
2023-05-15 15:39:00 +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
Justin Ehrenhofer
0f44bc094f
Update readme (#927) 2023-05-15 15:02:29 +03:00
Omar Hatem
a0117096a8
- New version update (#924)
- Remove unAccepted URI schemes
2023-05-11 22:55:07 +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
Rafael Saes
e28e2fbdde
CW-376-picker-ui-issue (#919)
* feat: use common modal widget for repeated picker logic and display

* refactor: rename widget

* refactor: clear wrapper logic from picker widget and move title to hasTitle

* Minor code readability enhancements [skip ci]

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2023-05-10 15:19:38 +03:00
Godwin Asuquo
759e61f67e
Fix keyboard is not entering text in fields until focus (#918) 2023-05-10 14:35:41 +03:00
Serhii
9b0b1e37c9
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:45 +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
Godwin Asuquo
25b743df47
CW-368 Fix Range error accessing outputs (#912) 2023-05-05 03:15:35 +03:00
Rafael Saes
f012aaebf4
Cw 363 back button on receive screen in bright theme is white (#910)
* feat: Add missing title on wallet_list_page.dart

* feat: add bool lightTitleColor value when theme needs lighter color title, instead of hardcoding to Colors.white

- Light color theme taken from Share button from receive page

* fix: revert changes & use currentTheme.type to use proper theme style

* fix: use share button color logic also on overriden leading Widget on address_page

* refactor: remove unnecessary titleColor
2023-05-04 03:33:05 +03:00
Serhii
f47f690803
fix getting correct currency from template (#898) 2023-05-03 10:01:51 +03:00
Godwin Asuquo
0a35e5c3e1
Dismiss ios keyboard before app goes to background (#911) 2023-05-02 16:30:19 +03:00
mkyq
b2c603a47b
Fix gen scripts. Change default arch for macos application. (#901)
* Fix gen scripts. Change default arch for macos application.

* Add combine script for combine arm and x86_64 libs.

* - Update Mac version for release
- Update branch with main [skip ci]

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2023-05-01 16:36:46 +03:00
Omar Hatem
367efb3cae
V4.6.4 fixes (#904)
* Check if context is still mounted or not before showing popup

* - Refactor Restore route flow
- Fix Monero.com restore from QR
- Remove deprecated restore classes
- Update Monero.com app version and notes

* Update Macos version and release notes

* Fixate android plugin versions as Flutter published new fail packages version

* Revert desktop changes as it's not supported yet to scan QR code on Desktop [skip ci]

* Revert macos version update [skip ci]
2023-04-27 17:06:09 +02:00
Omar Hatem
82b513d1f8
V4.6.3 bug fixes (#896)
* Add blocking screenshots native function to Monero.com [skip ci]

* Fix seeds QR data

* Update app versions and release notes [skip ci]

* Update only build number for macos since it wasn't released yet [skip ci]

* Fix adding sub-address

* Fix Accounts Popup UI

* Update app versions and release notes [skip ci]

* Fix add/edit node issue

* Update app versions and release notes [skip ci]

* Fix input fields focus/keyboard issues

* Update app versions and release notes [skip ci]
2023-04-26 14:59:27 +02:00