Skip to content

Commit

Permalink
Merge pull request #1201 from alephium/fix-missing-addresses
Browse files Browse the repository at this point in the history
Fix missing addresses in origins screen
  • Loading branch information
nop33 authored Feb 3, 2025
2 parents 547377b + 5d6e8ea commit d5c36e0
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 13 deletions.
6 changes: 6 additions & 0 deletions apps/mobile-wallet/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @alephium/mobile-wallet

## 2.1.1

### Patch Changes

- 8a06320: Fix missing addresses in origins screen

## 2.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/mobile-wallet/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
versionName "2.1.0"
versionName "2.1.1"
}
signingConfigs {
debug {
Expand Down
2 changes: 1 addition & 1 deletion apps/mobile-wallet/app.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export default {
name: 'Alephium',
owner: 'alephium-dev',
slug: 'alephium-mobile-wallet',
version: '2.1.0',
version: '2.1.1',
orientation: 'portrait',
icon: './assets/icon.png',
scheme: ['wc', 'alephium'],
Expand Down
2 changes: 1 addition & 1 deletion apps/mobile-wallet/ios/Alephium/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>2.1.0</string>
<string>2.1.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
Expand Down
4 changes: 2 additions & 2 deletions apps/mobile-wallet/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@alephium/mobile-wallet",
"version": "2.1.0",
"version": "2.1.1",
"private": true,
"main": "index.ts",
"scripts": {
Expand Down Expand Up @@ -57,7 +57,7 @@
"expo": "51.0.39",
"expo-application": "~5.9.1",
"expo-barcode-scanner": "~13.0.1",
"expo-blur": "~13.0.2",
"expo-blur": "~13.0.3",
"expo-build-properties": "~0.12.5",
"expo-camera": "~15.0.16",
"expo-checkbox": "~3.0.0",
Expand Down
4 changes: 1 addition & 3 deletions apps/mobile-wallet/src/components/AddressFlashListScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ const AddressFlashListScreen = ({

const filteredAddresses =
tokenId && tokenId !== ALPH.id ? addresses.filter((a) => a.tokens.some((t) => t.tokenId === tokenId)) : addresses
const data = hideEmptyAddresses
? filteredAddresses.filter((a) => a.tokens.length !== 0 && a.balance !== '0')
: filteredAddresses
const data = hideEmptyAddresses ? filteredAddresses.filter((a) => a.balance !== '0') : filteredAddresses

return (
<FlashListScreen
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d5c36e0

Please sign in to comment.