@@ -182,6 +182,14 @@ export class HomePage {
182182 this . fetchWalletStatus ( opts ) ;
183183 } ;
184184
185+
186+ private walletActionHandler = opts => {
187+ this . logger . debug ( 'RECV Local/TxAction @home' , opts ) ;
188+ opts = opts || { } ;
189+ opts . alsoUpdateHistory = true ;
190+ this . fetchWalletStatus ( opts ) ;
191+ } ;
192+
185193 ionViewDidLoad ( ) {
186194 this . logger . info ( 'Loaded: HomePage' ) ;
187195
@@ -202,7 +210,7 @@ export class HomePage {
202210 this . events . subscribe ( 'Local/WalletListChange' , this . setWallets ) ;
203211
204212 // Reject, Remove, OnlyPublish and SignAndBroadcast -> Update Status per Wallet -> Update txps
205- this . events . subscribe ( 'Local/TxAction' , this . walletFocusHandler ) ;
213+ this . events . subscribe ( 'Local/TxAction' , this . walletActionHandler ) ;
206214
207215 // Wallet is focused on some inner view, therefore, we refresh its status and txs
208216 this . events . subscribe ( 'Local/WalletFocus' , this . walletFocusHandler ) ;
@@ -620,8 +628,8 @@ export class HomePage {
620628 }
621629 } )
622630 . catch ( err => {
631+ if ( err == 'INPROGRESS' ) return ;
623632 this . processWalletError ( wallet , err ) ;
624-
625633 this . events . publish ( 'Local/WalletUpdate' , {
626634 walletId : opts . walletId ,
627635 finished : true ,
@@ -631,6 +639,7 @@ export class HomePage {
631639 if ( opts . alsoUpdateHistory ) {
632640 this . fetchTxHistory ( { walletId : opts . walletId } ) ;
633641 }
642+
634643 } ) ;
635644 } ;
636645
0 commit comments