File tree Expand file tree Collapse file tree
java/to/bitkit/viewmodels Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -276,15 +276,7 @@ class WalletViewModel @Inject constructor(
276276 walletRepo.syncNodeAndWallet()
277277 .onFailure {
278278 Logger .error(" Failed to refresh state: ${it.message} " , it)
279- if (it is CancellationException ) return @onFailure
280- if (it.isTxSyncTimeout()) {
281- ToastEventBus .send(
282- type = Toast .ToastType .ERROR ,
283- title = context.getString(R .string.wallet__ldk_sync_error_title),
284- description = context.getString(R .string.wallet__ldk_sync_error_body),
285- )
286- return @onFailure
287- }
279+ if (it is CancellationException || it.isTxSyncTimeout()) return @onFailure
288280 ToastEventBus .send(it)
289281 }
290282 }
Original file line number Diff line number Diff line change 11001100 <string name =" wallet__filter_title" >Select Range</string >
11011101 <string name =" wallet__instant_payment_received" >Received Instant Bitcoin</string >
11021102 <string name =" wallet__ldk_start_error_title" >Lightning Startup Error</string >
1103- <string name =" wallet__ldk_sync_error_body" >Unable to sync with the network. Please try again later.</string >
11041103 <string name =" wallet__ldk_sync_error_title" >Lightning Sync Error</string >
11051104 <string name =" wallet__lnurl_p_max" >Maximum amount</string >
11061105 <string name =" wallet__lnurl_p_title" >Pay Bitcoin</string >
You can’t perform that action at this time.
0 commit comments