mirror of
https://github.com/zapstore/zapstore.git
synced 2026-10-06 04:58:23 +00:00
Stack migration fixes
This commit is contained in:
@@ -446,6 +446,7 @@ class _MigrationBanner extends HookConsumerWidget {
|
||||
final partialStack = PartialAppStack(
|
||||
name: stack.name ?? stack.identifier,
|
||||
identifier: stack.identifier,
|
||||
description: stack.description,
|
||||
platform: platform,
|
||||
);
|
||||
partialStack.addCommunityKey(kZapstoreCommunityPubkey);
|
||||
@@ -461,7 +462,10 @@ class _MigrationBanner extends HookConsumerWidget {
|
||||
|
||||
final signedStack = await partialStack.signWith(signer);
|
||||
await ref.storage.save({signedStack});
|
||||
ref.storage.publish({signedStack}, relays: {'social', 'AppCatalog'});
|
||||
await ref.storage.publish(
|
||||
{signedStack},
|
||||
relays: {'social', 'AppCatalog'},
|
||||
);
|
||||
|
||||
progressCount.value++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user