Fix: Remove development logs from wallet address recovery screen

This commit is contained in:
minibits-cash
2025-02-10 12:27:26 +01:00
parent a39f1e2411
commit ff26c722ba
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -1,10 +1,10 @@
{
"name": "minibits_wallet",
"version": "0.2.0-beta.1",
"version": "0.2.0-beta.2",
"private": true,
"scripts": {
"android:clean": "cd android && ./gradlew clean",
"android:dev": "react-native run-android",
"android:dev": "react-native run-android --active-arch-only",
"android:test": "react-native run-android --mode=release",
"android:bundle": "react-native build-android --mode=release",
"android:apk": "cd android && ./gradlew assembleRelease",
+3 -3
View File
@@ -9,7 +9,7 @@ import { colors, spacing, useThemeColor } from '../theme'
import { Icon, ListItem, Screen, Text, Card, Loading, ErrorModal, Button } from '../components'
import { useHeader } from '../utils/useHeader'
import AppError, { Err } from '../utils/AppError'
import { MinibitsClient } from '../services'
import { MinibitsClient, log } from '../services'
import { useStores } from '../models'
import { MnemonicInput } from './Recovery/MnemonicInput'
import { MINIBITS_NIP05_DOMAIN } from '@env'
@@ -87,7 +87,7 @@ export const RecoverWalletAddressScreen = observer(function RecoverWalletAddress
const profile = await MinibitsClient.getWalletProfileBySeedHash(seedHash as string) // throws if not found
console.log('[onCheckWalletAddress] profileToRecover', { profile })
log.trace('[onCheckWalletAddress] profileToRecover', { profile })
if (profile.nip05.includes(MINIBITS_NIP05_DOMAIN)) {
setProfileToRecover(profile)
@@ -114,7 +114,7 @@ export const RecoverWalletAddressScreen = observer(function RecoverWalletAddress
const keys = await walletStore.getCachedWalletKeys()
console.log('[onCompleteAddress] Wallet keys', { keys })
log.trace('[onCompleteAddress] Wallet keys', { keys })
await walletProfileStore.recover(
keys.NOSTR.publicKey,