From e3ae8b00c5a0edde8c9dff04ef963fc2d6f0b1da Mon Sep 17 00:00:00 2001 From: koalasat Date: Wed, 28 May 2025 10:17:03 +0200 Subject: [PATCH] Update ZapStore file --- .../docs/pt/contribute/01-development.md | 2 +- frontend/src/components/Dialogs/Community.tsx | 16 ++++------- .../TradeBox/EncryptedChat/index.tsx | 8 +++--- mobile/android/zapstore.yaml | 27 ++++++++++++------- 4 files changed, 29 insertions(+), 24 deletions(-) diff --git a/docs/_pages/docs/pt/contribute/01-development.md b/docs/_pages/docs/pt/contribute/01-development.md index 90769565..b2506a22 100644 --- a/docs/_pages/docs/pt/contribute/01-development.md +++ b/docs/_pages/docs/pt/contribute/01-development.md @@ -20,7 +20,7 @@ _!!! Cuidado com golpistas que se passam por administradores do RoboSats. Os adm - **Simplex:** [Grupo Principal do RoboSats](https://simplex.chat/contact#/?v=1-2&smp=smp%3A%2F%2F0YuTwO05YJWS8rkjn9eLJDjQhFKvIYd8d4xG8X1blIU%3D%40smp8.simplex.im%2FyEX_vdhWew_FkovCQC3mRYRWZB1j_cBq%23%2F%3Fv%3D1-2%26dh%3DMCowBQYDK2VuAyEAnrf9Jw3Ajdp4EQw71kqA64VgsIIzw8YNn68WjF09jFY%253D%26srv%3Dbeccx4yfxxbvyhqypaavemqurytl6hozr47wfc7uuecacjqdvwpw2xid.onion&data=%7B%22type%22%3A%22group%22%2C%22groupLinkId%22%3A%22hWnMVPnJl-KT3-virDk0JA%3D%3D%22%7D). Tem perguntas ou um problema? Encontre suporte comunitário na conversa pública do grupo SimpleX. Se você quer se juntar a outros robôs legais e aprender mais sobre o RoboSats, então essas discussões acontecem no SimpleX, Nostr e nos grupos de chat Matrix. -- **Nostr:** [Grupo Geral do RoboSats](https://snort.social/e/note1tfwvglg8xz8420pfgav0dc9mqekv02nkpck2axefklrema7lk6wszmwxdy). Junte-se a outros robôs legais e não hesite em fazer perguntas sobre o RoboSats! Além disso, a conta [RoboSats Nostr](npub1p2psats79rypr8lpnl9t5qdekfp700x660qsgw284xvq4s09lqrqqk3m82) fornece atualizações importantes do projeto, dicas e truques de uso do RoboSats, e outros comentários centrados na privacidade. Perguntas e interações são bem-vindas. Lembre-se: problemas que exigem suporte da equipe do RoboSats devem ser direcionados para o grupo principal do SimpleX, onde as respostas são mais rápidas e a equipe pode investigar mais a fundo o seu problema. +- **Nostr:** [Grupo Geral do RoboSats](https://snort.social/e/note1tfwvglg8xz8420pfgav0dc9mqekv02nkpck2axefklrema7lk6wszmwxdy). Junte-se a outros robôs legais e não hesite em fazer perguntas sobre o RoboSats! Além disso, a conta [RoboSats Nostr](nprofile1qqsyx53h3h7ec4fwlspjq0kqec5gv54t7rc48xdtq6q4y94wsw4fnjqsg3jtv) fornece atualizações importantes do projeto, dicas e truques de uso do RoboSats, e outros comentários centrados na privacidade. Perguntas e interações são bem-vindas. Lembre-se: problemas que exigem suporte da equipe do RoboSats devem ser direcionados para o grupo principal do SimpleX, onde as respostas são mais rápidas e a equipe pode investigar mais a fundo o seu problema. - **Matrix:** [Grupo de Desenvolvimento do RoboSats](https://matrix.to/#/#robosats:matrix.org). Grupo de chat principal de comunicação entre desenvolvedores, onde discussões abertas e técnicas sobre o desenvolvimento ocorrem. Discussões sobre mudanças de código acontecem em issues e pull requests (PRs) do GitHub. diff --git a/frontend/src/components/Dialogs/Community.tsx b/frontend/src/components/Dialogs/Community.tsx index 7d111828..64d72c3b 100644 --- a/frontend/src/components/Dialogs/Community.tsx +++ b/frontend/src/components/Dialogs/Community.tsx @@ -26,7 +26,6 @@ interface Props { const CommunityDialog = ({ open = false, onClose }: Props): React.JSX.Element => { const { t } = useTranslation(); - const [client] = window.RobosatsSettings.split('-'); const flagProps = { width: 30, @@ -81,16 +80,11 @@ const CommunityDialog = ({ open = false, onClose }: Props): React.JSX.Element => { - if (client === 'mobile') { - window.location.href = - 'nostr:npub1p2psats79rypr8lpnl9t5qdekfp700x660qsgw284xvq4s09lqrqqk3m82'; - } else { - window.open( - 'https://njump.me/npub1p2psats79rypr8lpnl9t5qdekfp700x660qsgw284xvq4s09lqrqqk3m82', - '_blank', - 'noopener,noreferrer', - ); - } + window.open( + 'https://njump.me/nprofile1qqsyx53h3h7ec4fwlspjq0kqec5gv54t7rc48xdtq6q4y94wsw4fnjqsg3jtv', + '_blank', + 'noopener,noreferrer', + ); }} > diff --git a/frontend/src/components/TradeBox/EncryptedChat/index.tsx b/frontend/src/components/TradeBox/EncryptedChat/index.tsx index 1cdfa0f0..07df7d7e 100644 --- a/frontend/src/components/TradeBox/EncryptedChat/index.tsx +++ b/frontend/src/components/TradeBox/EncryptedChat/index.tsx @@ -43,7 +43,7 @@ const EncryptedChat: React.FC = ({ status, }: Props): React.JSX.Element => { const [turtleMode, setTurtleMode] = useState(false); - const { hostUrl, settings } = useContext(AppContext); + const { settings } = useContext(AppContext); const { garage } = useContext(GarageContext); const { federation } = useContext(FederationContext); @@ -77,12 +77,14 @@ const EncryptedChat: React.FC = ({ const recipient = { publicKey: order.is_maker ? order.taker_nostr_pubkey : order.maker_nostr_pubkey, - relayUrl: coordinator.getRelayUrl(settings.network, hostUrl, settings.selfhostedClient), + relayUrl: coordinator.getRelayUrl(settings.network), }; const wrappedEvent = nip17.wrapEvent(slot?.nostrSecKey, recipient, content); - wrappedEvent.tags.push(['expiration', (wrappedEvent.created_at + 2419200).toString()]); + const oneMonth = 2419200; + + wrappedEvent.tags.push(['expiration', (wrappedEvent.created_at + oneMonth).toString()]); federation.roboPool.sendEvent(wrappedEvent); }; diff --git a/mobile/android/zapstore.yaml b/mobile/android/zapstore.yaml index 8a730119..29d13e5e 100644 --- a/mobile/android/zapstore.yaml +++ b/mobile/android/zapstore.yaml @@ -1,9 +1,18 @@ -robosats: - android: - identifier: com.robosats - name: Robosats - description: A simple and private bitcoin exchange - repository: https://github.com/RoboSats/robosats - license: AGPL-3.0 - artifacts: - - robosats-v%v.alpha-universal.apk +identifier: com.robosats +name: Robosats +summary: A simple and private bitcoin exchange +release_repository: https://github.com/RoboSats/robosats +images: + - ../../fastlane/metadata/en-US/images/phoneScreenshots/01.jpg + - ../../fastlane/metadata/en-US/images/phoneScreenshots/02.jpg + - ../../fastlane/metadata/en-US/images/phoneScreenshots/03.jpg + - ../../fastlane/metadata/en-US/images/phoneScreenshots/04.jpg + - ../../fastlane/metadata/en-US/images/phoneScreenshots/05.jpg + - ../../fastlane/metadata/en-US/images/phoneScreenshots/06.jpg +icon: ../../fastlane/metadata/en-US/images/icon.png +tags: privacy lightning bitcoin p2p tor exchange foss +license: AGPL-3.0 +remote_metadata: + - github +assets: # for github + - robosats-v\d+\.\d+\.\d+.\w+-universal.apk