mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-12-02 12:14:09 +01:00
CW-843: Enhance Wallet Groups Implementation (#2045)
* feat: Enhance Wallet Groups Implementation by using hashedIdentifiers instead of parentAddresses * fix: Call updateWalletGroups even if group has an hash identifier * feat: Add secrets to workflow * feat: Enhance Wallet Groups Implementation by using hashedIdentifiers instead of parentAddresses * Handle wallet grouping edgecase where wallet is restored via non seed medium * fix: Valid wallet/wallet groups not showing up when choosing wallet/groups for creating new wallets
This commit is contained in:
@@ -40,7 +40,7 @@ abstract class WalletEditViewModelBase with Store {
|
||||
Future<void> changeName(
|
||||
WalletListItem walletItem, {
|
||||
String? password,
|
||||
String? groupParentAddress,
|
||||
String? walletGroupKey,
|
||||
bool isWalletGroup = false,
|
||||
}) async {
|
||||
state = WalletEditRenamePending();
|
||||
@@ -48,7 +48,7 @@ abstract class WalletEditViewModelBase with Store {
|
||||
if (isWalletGroup) {
|
||||
_walletManager.updateWalletGroups();
|
||||
|
||||
_walletManager.setGroupName(groupParentAddress!, newName);
|
||||
_walletManager.setGroupName(walletGroupKey!, newName);
|
||||
} else {
|
||||
await _walletLoadingService.renameWallet(
|
||||
walletItem.type,
|
||||
|
||||
Reference in New Issue
Block a user