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));
|
rows.add(_InfoRow(label: 'App ID', value: app.identifier));
|
||||||
|
|
||||||
// Author npub
|
if (!app.isRelaySigned) {
|
||||||
final npub = Utils.encodeShareableFromString(app.pubkey, type: 'npub');
|
// Author npub
|
||||||
rows.add(
|
final npub = Utils.encodeShareableFromString(app.pubkey, type: 'npub');
|
||||||
_InfoRow(label: 'Author npub', value: npub.abbreviate(), copyValue: npub),
|
rows.add(
|
||||||
);
|
_InfoRow(
|
||||||
|
label: 'Author npub',
|
||||||
|
value: npub.abbreviate(),
|
||||||
|
copyValue: npub,
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
if (fileMetadata?.hash != null) {
|
if (fileMetadata?.hash != null) {
|
||||||
final full = fileMetadata!.hash;
|
final full = fileMetadata!.hash;
|
||||||
|
|||||||
Reference in New Issue
Block a user