Multiple Wallet support, history of each wallet and updated payment page

This commit is contained in:
Arseni
2025-11-21 19:22:23 +03:00
parent 4c64a8d6e6
commit 87636a7ec3
68 changed files with 2154 additions and 701 deletions

View File

@@ -41,8 +41,16 @@ class _WalletFormState extends State<WalletForm> {
@override
void didUpdateWidget(covariant WalletForm oldWidget) {
super.didUpdateWidget(oldWidget);
if (widget.initialData == null && oldWidget.initialData != null) {
final newData = widget.initialData;
final oldData = oldWidget.initialData;
if (newData == null && oldData != null) {
_walletIdController.clear();
return;
}
if (newData != null && newData != oldData) {
_walletIdController.text = newData.walletId;
}
}