mirror of
https://github.com/zapstore/zapstore.git
synced 2026-10-06 04:58:23 +00:00
Add guard for signer in detail screen, add nos.lol additional social relay
This commit is contained in:
@@ -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> {
|
||||
|
||||
@@ -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: [
|
||||
|
||||
Reference in New Issue
Block a user