Commit graph

4 commits

Author SHA1 Message Date
876eb4f20b Update WalletService and WalletPage to handle timestamps more robustly
- Modified WalletService to set a default timestamp when payment time is not provided, ensuring consistent date handling.
- Enhanced WalletPage to validate timestamps before formatting, preventing potential errors and improving user experience by displaying a placeholder for invalid timestamps.

These changes improve the reliability of transaction data presentation in the wallet module.
2025-09-14 23:23:23 +02:00
e5054fdb9d Refactor WalletService to use config for API endpoints and improve error handling
- Updated WalletService to utilize the centralized config for API base URLs, enhancing maintainability.
- Replaced logger calls with console statements for error handling and success messages to simplify debugging.
- Refactored the onInitialize method and other service methods to improve clarity and error management.

These changes streamline the service's functionality and ensure consistent API endpoint usage.
2025-09-14 23:20:05 +02:00
f275d317ed Update import path for BaseService in WalletService.ts
- Changed the import statement for BaseService from '@/core/services/BaseService' to '@/core/base/BaseService' to reflect the new directory structure.

This change ensures that the WalletService correctly references the BaseService, maintaining the integrity of the service layer.
2025-09-14 23:09:31 +02:00
f75aae6be6 Add wallet module with receive and send functionality
- Introduced a new wallet module that includes components for sending and receiving Bitcoin payments.
- Implemented WalletService to manage payment links and transactions, including methods for creating LNURL pay links and sending payments.
- Added dialogs for receiving and sending payments, enhancing user interaction with the wallet.
- Updated app configuration to enable the wallet module and integrated it into the main application flow.

These changes provide users with a comprehensive wallet experience, allowing for seamless Bitcoin transactions.
2025-09-14 23:08:01 +02:00