Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
package wallet.android.app.tokens

import com.gemwallet.android.blockchain.clients.aptos.AptosGetTokenClient
import com.gemwallet.android.blockchain.clients.ethereum.EvmGetTokenClient
import com.gemwallet.android.blockchain.clients.solana.SolanaTokenClient
import com.gemwallet.android.blockchain.clients.sui.SuiGetTokenClient
import com.gemwallet.android.blockchain.clients.ton.TonGetTokenClient
import com.gemwallet.android.blockchain.clients.tron.TronGetTokenClient
import junit.framework.TestCase.assertFalse
import junit.framework.TestCase.assertTrue
import org.junit.Test
Expand Down
13 changes: 0 additions & 13 deletions app/src/main/assets/swap/orca.svg

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import androidx.security.crypto.MasterKey
import com.gemwallet.android.blockchain.operators.PasswordStore
import com.gemwallet.android.math.toHexString
import java.security.SecureRandom
import androidx.core.content.edit

class PreferencePasswordStore(
private val context: Context,
Expand All @@ -18,10 +19,9 @@ class PreferencePasswordStore(
override fun createPassword(walletId: String): String {
val key = ByteArray(16)
random.nextBytes(key)
getStore()
.edit()
.putString(walletId, key.toHexString())
.commit()
getStore().edit(commit = true) {
putString(walletId, key.toHexString())
}
return key.toHexString()
}

Expand Down
Loading
Loading