* Add theme base v2
* Initial new theme base files
* Typos
* Fixes
* Update theme files
* feat: Migrate to Material 3 Theming
Foundation, Theme Data Refactor, and First Extension Cleanup Batch.
This commit completes the first major phase of migrating to Material 3 theming by setting up the foundations for material 3 integration and begins the initial migration, removing custom theme extensions, updating theme data, and refactoring all relevant widget and page theming to use Material 3’s built-in color and typography tokens.
These changes:
- Lays the groundwork for Material 3 theming by restructuring the app’s theme configuration to use Material 3’s ColorScheme and TextTheme as the primary sources of color and typography throughout the app.
- Refactors the core theme config files by removing legacy custom color roles ensuring all color definitions now map directly to Material 3’s role.
- Begins the first batch migration of custom theme extensions (InfoTheme, PlaceholderTheme, KeyboardTheme, PinCodeTheme) and updates all affected widgets and pages to use Material 3 color and typography tokens instead of the custom properties.
- Cleans up the codebase by deleting the files of the initial set of migrated extensions and eliminating all related imports and usages.
* feat: Migrate to Material 3 Theming.
This change:
- Updates the themes README.md file to reflect the current structure and give more information based on the first major phase that was completed.
* feat: Migrate to Material 3 Theming
Deleting previous theme extensions
* feat: Migrate to Material 3 Theming
Another batch of migrations from existing extensions
* feat: Migration to Material 3 Theming
Third Migration batch for theme extensions
* fwat: Migration to Material 3 Theming
Final Migration batch for previous theme extensions
* Update onboarding hero
* Update button radius
* Add surfaceContainer to light theme
* feat(themes): Migrate to Material 3 Theming
This change:
- Adds new set of hero images
- Modifies the core structure for the themes
- Add missing color tokens to the theme classes
- Adds a CustomThemeColor class for custom color tokens
- Modifies the themelist to have a fall back for previous theme implementation
- Adds localization for some texts
- Modifies the flow for loading the theme on app start
- Add a WidgetsBindingObserver that listens for changes in the device theme and updates the app theme when there is a change
- Registers the themeStore as a Singleton for codebase wide use
* feat(themes): Migrate to Material 3 theming
This change:
- Migrates UI flows across the app to the new themes
- Confirms styling and typography of components across the app uses the new themes
- Remove instances of Palette use
- Switch TextStyles across the app to use theme text styles
* feat(themes): Migrate to Material 3 Theming.
This change:
- Adjusts bottomsheets styling and removes duplicate close button
- Removes more themedata extensions from the previous implementation
* - Remove outlines from cards and dock
- Update menu colors
- Update padding/divider size for cards
* - Update PIN screen
- Fix navigation dock shadow
- Update wallet screen colors
* Update border radius --skip-ci
* feat(themes): Migrate to Material 3 Theming.
This change:
- Adds gradient backgrounds to the dashbaord and balance cards.
- Migrates the input fields across the app to BaseTextFormFields.
- Removes dependence of input fields on individual styling, focusing instead on using theme defined InputDecoration styling with adjustments on individual components where needed.
- Applies new theme styling to BaseTextFormField, AddressTextField and CurrencyAmountTextField.
* - Switch some hero images to PNG
- Fix nagivation_dock shadow
- Minor fixes
* feat: Add fallback to previous underline styling in central widgets
This change:
- Adds a fallback to CurrencyAmountTextField, AddressTextField, and BaseTextFormField, allowing them use the previous theme styling.
- Adds localization for new texts
* feat(themes): Update warning box colors for dark and light themes
* feat(themes): Relaod themes when user restores from backup, ensuring the user previous theme preference is used.
* feat(themes): Handle themes logic during restore from backup
This change:
- Refactors theme loading logic to handle backup restore edgecase
- Refreshes the theme based on the user saved preference during restore from backup flow
* Fix card gradients and spacing
* Fix even more radiuses
Test new icons for navigation_dock.dart
* Update onboarding flow backgrounds
Fix swap icon clipping
Fix some text colors
Add more hero images
* Fix incorrect color for light theme
* Fix more hero images and cleanup
* Update text field icons
Fix info box CTA colors
Fix sync indicator colors
* Update toggle colors
Update dark theme colors (minor)
Update crypto_balance_widget.dart icon
* Update page transitions in router.dart
Fix some colors
* feat(themes): Display label by default for filled textfields
* feat(themes): Refactor theme handling across various components
This change:
- Fixes issue with themeMode resetting to system mode when app is restarted causing a UI glitch
- Updates theme checks from `currentTheme.type == ThemeType.dark` to `currentTheme.isDark` for consistency
- Adjusts UI components to use the theme directly from the themeStore
* feat(themes): Add animating tagline to the create pin welcome screen
* Revert text fields label temporarily, fix a couple colors, and cleanup some images
---------
Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
Co-authored-by: Blazebrain <davidadegoke16@gmail.com>
* decred: Add decred. (#1322)
* multi: Add initial decred screens. (#1165)
Use a mock libwallet for now.
* cw_decred: add libdcrwallet dependency and link library for android, ios and macos (#1240)
* change cw_decred from package to plugin
* add libdcrwallet dependency and link library for android, ios and macos
* remove spvwallet, make some libdcrwallet fns async, light refactor
* libdcrwallet: use json payload returns
* use specific libwallet commit hash
* decred: fix Rename wallet.
---------
Co-authored-by: JoeGruff <joegruffins@gmail.com>
* decred: Add sync.
* decred: Add send transaction.
* decred: Fix fee estimation.
* decred: List transactions.
* decred: Add rescan.
* decred: Sign message.
* decred: Add new addr and addrs.
* decred: Add change wallet pass.
* decred: Add restore from seed.
* decred: Add watching only wallets.
* decred: Enable mainnet.
* decred: Allow using blank node address.
This allows a persistent peer to be unset, falling back to decred
seeders.
* decred: Rescan from wallet birthday.
* add and update macos build scripts, update build readme, gitignore macos project.pbxproj
Signed-off-by: Philemon Ukane <ukanephilemon@gmail.com>
* multi: hide decred rescan page if it's not ready
- move hasRescan method to WalletBase and implement for decred
Signed-off-by: Philemon Ukane <ukanephilemon@gmail.com>
* cw_decred: fix bug where decred wallets are not loaded after app restart
Signed-off-by: Philemon Ukane <ukanephilemon@gmail.com>
* add buy and sell for decred via onramp
Signed-off-by: Philemon Ukane <ukanephilemon@gmail.com>
* bug-fix: account for other send outputs that are part of the same tx
Signed-off-by: Philemon Ukane <ukanephilemon@gmail.com>
* decred: Return address with no peers.
* decred: Update pubspec.
* decred: Add verify message.
* upgrade hive_generator dep in cw_decred
* decred: Clean up code.
---------
Signed-off-by: Philemon Ukane <ukanephilemon@gmail.com>
Co-authored-by: Wisdom Arerosuoghene <wisdom.arerosuoghene@gmail.com>
Co-authored-by: Philemon Ukane <ukanephilemon@gmail.com>
* fix extracted addresses not used
fix conflicts with main
* remove print [skip ci]
* minor formatting
* fix initial migration version
* add build decred script to workflow
* install go before build decred
fix switch cases
* trial 2 to fix decred build
* re-install go
* revert build script change
* refactor/clean nodes functions
* Fix address book issue
Fix send ALL (to be continued with the fees point)
* Fix transactions display issues
Add missing file
* Fix unconfirmed balance not displayed
Change Wallet order
Minor cleanup
* Fix workflow
* Fix workflow
* Fix workflow
* test
* hardcode path for now
* fix + cleanup decred build script to work on mac and linux
* Update decred build script
* Run actions on pull requests, extract commit message
* run after checkout
* add safe directory
* Get commit message from base.sha instead of last commit
* base -> head
* Do not merge main branch into pr
* [skip slack] [run tests] clone by sha
* Proper name for decred library in the build script
* Throw an error when ANDROID_HOME or ANDROID_NDK_VERSION is missing
* Fix conflicts with main
* minor code enhancement
* decred: Add used address history. (#1941)
* decred: Update pubspec.
* decred testnet
* decred: Add used address history.
* decred: Remove default node list.
* populate transaction history before sync begins
* decred: Add some awaits.
* decred: Fix send all.
* decred: Add clang export to build script.
* decred: Update logo colors.
* cleanup cw_decred.dart
* make decred wallet addresses selectable in receive page
* decred: Always set default addr when used.
* decred: Add back default node list.
* decred: Allow creating addresses manually.
---------
Co-authored-by: Wisdom Arerosuoghene <wisdom.arerosuoghene@gmail.com>
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
* minor fixes and cleanup
* minor fix, feel free to test now
* - Fix transaction details
- Fix Nodes
- Add processing sync status
* Add decred info card
* push missing file
* Add missing text for decred info card
* minor: change docs link [skip ci]
* decred: Update derivation info. (#2013)
* decred: Update derivation info.
* decred: Allow unsynced unused addresses.
* decred: Update dcrwallet dep to 4.3.0.
* Merge main and fix conflicts
* Merge main and fix conflicts
* decred: Fix background sync panic. (#2080)
* decred: Run libwallet in isolate. (#2077)
* decred: Fix contact save inquiry. (#2083)
Also fix tx time and the fee shown on pending transactions.
* Disable send button in view only decred wallets
* - Fix frozen coins
- Add URI support
- Fix fees in tx details
- Handle empty coins send
- Handle wallets in address book
* Merge main
* remove print [skip ci]
* Fix restore from QR
* minor improvement for QR restore
* Remove Haven Wallet
* Remove haven scripts
* minor fixes [skip ci]
* decred: Get slip44 addrs before sync completes. (#2092)
* - Fix loading wallet more than one time
- Fix minor UI issue
* fix merge issue
* fix merge issue
---------
Signed-off-by: Philemon Ukane <ukanephilemon@gmail.com>
Co-authored-by: JoeGruffins <34998433+JoeGruffins@users.noreply.github.com>
Co-authored-by: Wisdom Arerosuoghene <wisdom.arerosuoghene@gmail.com>
Co-authored-by: Philemon Ukane <ukanephilemon@gmail.com>
Co-authored-by: Czarek Nakamoto <cyjan@mrcyjanek.net>
* replace qr scanner with fast_scanner
* bump java version
* fix qr code scanning
* add flashlight and camera switch
* airgap work
* commitTransactionUR
* bump fast_scanner, fix configure script
* add option to restore wallet from NERO qr format
* fixes to the flow and logic
use gsed or otherwise it fails?
* remove Expanded() to fix URQR on release builds
* cache key to allow app updates
* rename cache key
* [skip ci] cache key.jks in cache_dependencies
* update fast_scanner to work on ios, with light mlkit dependency
* ui fixes
* error handling fix
* update fast_scanner to drop iOS dependency
* changes from review
* Update lib/entities/qr_scanner.dart
* changes from review
* remove useless commit
* don't set state multiple times
remove return Container() for non monero wallets
* return on fail
don't handle empty qr codes
* set node as trusted
display primary address in seed screen
* fix wow and haven
* migrate node to trusted
* - update trusted node for existing users
- update locales
- fix conflicts
- move menu item
---------
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>