Hotfix: only show npub if not relay signed

This commit is contained in:
franzap
2026-01-14 19:45:29 -03:00
parent 58b624b08a
commit dad27694a6
+11 -5
View File
@@ -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;