mirror of
https://github.com/zapstore/zapstore.git
synced 2026-10-05 12:38:24 +00:00
Hotfix: only show npub if not relay signed
This commit is contained in:
@@ -75,11 +75,17 @@ class AppInfoTable extends HookConsumerWidget {
|
||||
|
||||
rows.add(_InfoRow(label: 'App ID', value: app.identifier));
|
||||
|
||||
// Author npub
|
||||
final npub = Utils.encodeShareableFromString(app.pubkey, type: 'npub');
|
||||
rows.add(
|
||||
_InfoRow(label: 'Author npub', value: npub.abbreviate(), copyValue: npub),
|
||||
);
|
||||
if (!app.isRelaySigned) {
|
||||
// Author npub
|
||||
final npub = Utils.encodeShareableFromString(app.pubkey, type: 'npub');
|
||||
rows.add(
|
||||
_InfoRow(
|
||||
label: 'Author npub',
|
||||
value: npub.abbreviate(),
|
||||
copyValue: npub,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
if (fileMetadata?.hash != null) {
|
||||
final full = fileMetadata!.hash;
|
||||
|
||||
Reference in New Issue
Block a user