fix(wallet):transaction approval not shown in release
This commit is contained in:
@@ -1017,7 +1017,7 @@ public abstract class BraveActivity<C extends ChromeActivityComponent> extends C
|
||||
|
||||
public void openBraveWalletSettings() {
|
||||
SettingsLauncher settingsLauncher = new SettingsLauncherImpl();
|
||||
settingsLauncher.launchSettingsActivity(this, BraveWalletPreferences.class);
|
||||
settingsLauncher.launchSettingsActivity(this, BraveWalletPreferences.class);
|
||||
}
|
||||
|
||||
public void openBraveWallet(boolean fromDapp) {
|
||||
|
||||
@@ -101,7 +101,8 @@ public class CryptoModel {
|
||||
}
|
||||
|
||||
public void refreshTransactions() {
|
||||
mPendingTxHelper.fetchTransactions(null);
|
||||
mKeyringService.getKeyringInfo(BraveWalletConstants.DEFAULT_KEYRING_ID,
|
||||
keyringInfo -> { mPendingTxHelper.setAccountInfos(keyringInfo.accountInfos); });
|
||||
}
|
||||
|
||||
public LiveData<TransactionInfo> getSelectedPendingRequest() {
|
||||
@@ -139,7 +140,7 @@ public class CryptoModel {
|
||||
|
||||
@Override
|
||||
public String getChainId() {
|
||||
if (mNetworkModel.mChainId == null) {
|
||||
if (mNetworkModel.mChainId.getValue() == null) {
|
||||
return BraveWalletConstants.MAINNET_CHAIN_ID;
|
||||
}
|
||||
return mNetworkModel.mChainId.getValue();
|
||||
|
||||
Reference in New Issue
Block a user