Add guard for signer in detail screen, add nos.lol additional social relay

This commit is contained in:
franzap
2025-04-25 16:14:28 -03:00
parent 9732fc32fb
commit 2925614b60
2 changed files with 9 additions and 2 deletions
+6 -1
View File
@@ -13,7 +13,12 @@ import 'package:zapstore/widgets/latest_releases_container.dart';
// NOTE: Very important to use const in relay args to preserve equality in Riverpod families
// const kAppRelays = {'ws://10.0.2.2:3000'};
const kAppRelays = {'wss://relay.zapstore.dev'};
const kSocialRelays = {'wss://relay.damus.io', 'wss://relay.primal.net', 'ndk'};
const kSocialRelays = {
'wss://relay.damus.io',
'wss://relay.primal.net',
'wss://nos.lol',
'ndk'
};
const kVertexRelay = {'wss://relay.vertexlab.io'};
mixin NostrAdapter<T extends DataModelMixin<T>> on Adapter<T> {
+3 -1
View File
@@ -168,7 +168,9 @@ class AppDetailScreen extends HookConsumerWidget {
padding: const EdgeInsets.only(right: 14),
child: SignerContainer(app: app),
),
if (app.latestMetadata != null && app.isSelfSigned)
if (app.latestMetadata != null &&
app.signer.isPresent &&
app.isSelfSigned)
Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [