CakeWallet/lib
David Adegoke b5ba9385e8
Handle Network Connection Errors (#2213)
* fix(moralis-nft-errors): guard against concurrent NFT fetches and adjusts the message being presented to the user.

Previously multiple calls to get NFTs for the currently opened wallet could overlap and queue the error bottom sheet multiple times.

This change:
- Registers the NFTViewModel as a lazySingleton so its isLoading flag persists.
- Adds an early return in the call to fetch the wallet NFTs when isLoading is already true.
- Cleans up the error message being displayed to the user when there is an error.

* feat(moralis-nft-error): localize error message in NFTViewModel

* feat(nft/wc-bottom-sheet): Revamped the flow, service, theme, and UI for smoother UX

Revamps bottom‑sheet handling end‑to‑end to deliver a much more smoother experience.

This change:
- Refactors the BottomSheetService queueing logic to prevent races and ensure strict sequencing
- Update theme extensions and styling for the bottom‑sheet components
- Adds the option to either auto dismiss or allow user manually dismiss the bottomsheet

* fix: Context clash when entering the wallets on airplane mode. The flushbar clashes with the bottomSheet and results in it blocking entry to the selected wallet.

This change:
- Moves the logic for fetching nft to the listing  page, no need fetching if the user does not route to the page,
- Routes to balance page when entering from wallet list page
- Adds a fade transition when entering the dashboard
- Reverts nftViewModel registeration to be a factory

* fix: Revert animation for now, prior to when the UX overhaul for the app is done

* fix: Remove duplicate registration
2025-04-25 01:12:56 +03:00
..
anonpay Generic fixes (#1583) 2024-08-09 22:18:32 +03:00
anypay Remove haven (#2085) 2025-03-21 04:52:05 +02:00
bitcoin CW-843: Enhance Wallet Groups Implementation (#2045) 2025-03-06 02:25:38 +02:00
bitcoin_cash CW-843: Enhance Wallet Groups Implementation (#2045) 2025-03-06 02:25:38 +02:00
buy more trace in minor error [skip ci] 2025-04-18 04:47:53 +02:00
cake_pay fix cakepay text encoding (#1902) 2024-12-28 08:06:37 +02:00
core CW-1000 Background sync improvements (#2142) 2025-04-24 19:06:43 +02:00
decred Add decred (#1938) 2025-03-21 04:18:47 +02:00
entities Handle Network Connection Errors (#2213) 2025-04-25 01:12:56 +03:00
ethereum CW-843: Enhance Wallet Groups Implementation (#2045) 2025-03-06 02:25:38 +02:00
exchange Add fallback for tx status [skip ci] 2025-04-22 23:56:29 +02:00
haven Add the code to enable removing Haven wallets (#2222) 2025-04-23 12:19:59 +02:00
locales CW-875 BackupServiceV3 (#2064) 2025-03-22 03:16:54 +02:00
mastodon CW 781 replace all print statements with printV (#1733) 2024-12-09 20:23:59 +02:00
monero CW-723-Add-Monero-support-to-the-Shared-Seed-feature-in-Cake (#2131) 2025-04-10 03:31:26 +02:00
nano CW-843: Enhance Wallet Groups Implementation (#2045) 2025-03-06 02:25:38 +02:00
nostr CW 781 replace all print statements with printV (#1733) 2024-12-09 20:23:59 +02:00
polygon CW-843: Enhance Wallet Groups Implementation (#2045) 2025-03-06 02:25:38 +02:00
reactions Explore-Reown-For-WalletConnect (#2156) 2025-04-24 18:39:58 +02:00
solana Fix Scam tokens handling and make it persistent (#2138) 2025-04-03 03:32:00 +02:00
src Handle Network Connection Errors (#2213) 2025-04-25 01:12:56 +03:00
store Explore-Reown-For-WalletConnect (#2156) 2025-04-24 18:39:58 +02:00
themes UI enhancements (#1895) 2025-02-12 14:35:59 +03:00
tron Fix Scam tokens handling and make it persistent (#2138) 2025-04-03 03:32:00 +02:00
twitter New versions (#1312) 2024-03-04 19:32:10 +02:00
utils Address-formatting-enhancements-MWEB (#2189) 2025-04-11 19:51:30 +02:00
view_model Handle Network Connection Errors (#2213) 2025-04-25 01:12:56 +03:00
wownero CW-1024 Improve performance of xmr wallet (#2128) 2025-04-03 03:31:25 +02:00
zano CW-1024 Improve performance of xmr wallet (#2128) 2025-04-03 03:31:25 +02:00
app_scroll_behavior.dart Cw 567 cant swipe through menus on desktop builds (#1563) 2024-08-10 01:21:26 +03:00
di.dart Handle Network Connection Errors (#2213) 2025-04-25 01:12:56 +03:00
main.dart Implement background sync for xmr using flutter_daemon (#2094) 2025-03-21 19:22:00 +02:00
palette.dart Replace purple with "Cake Dark Blue" theme and make it default (#1314) 2024-02-28 04:15:18 +02:00
router.dart CW-1000 Background sync improvements (#2142) 2025-04-24 19:06:43 +02:00
routes.dart CW-1000 Background sync improvements (#2142) 2025-04-24 19:06:43 +02:00
typography.dart Cw 657 new buy sell flow (#1553) 2024-11-09 21:00:56 +02:00
wallet_type_utils.dart Remove haven (#2085) 2025-03-21 04:52:05 +02:00