Skip to content

Commit

Permalink
added logs
Browse files Browse the repository at this point in the history
  • Loading branch information
giannis-rdx committed Jul 1, 2024
1 parent 9e61459 commit c48af5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ class IncomingRequestRepositoryImpl @Inject constructor(
if (queueItem == null) {
Timber.w("Request with id $requestId is null")
}
Timber.d("\uD83D\uDDC2 get request $requestId")
return (queueItem as? QueueItem.RequestItem)?.incomingRequest
}

Expand All @@ -194,7 +195,6 @@ class IncomingRequestRepositoryImpl @Inject constructor(
// In order to emit an incoming request, the topmost item should be
// a. An incoming request
// b. It should not be the same as the one being handled already
Timber.d("Next request id ${(nextRequest as? QueueItem.RequestItem)?.incomingRequest?.interactionId}")
if (nextRequest is QueueItem.RequestItem && _currentRequestToHandle.value != nextRequest.incomingRequest) {
_currentRequestToHandle.emit(nextRequest.incomingRequest)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ class MainViewModel @Inject constructor(
verifyingDappRequestJob = viewModelScope.launch {
verifyDappUseCase(request).onSuccess { verified ->
if (verified) {
// TODO temporarily disabled for the 1.7.0 release. This will be included in the next release.
// if (request.isMobileConnectRequest) {
// incomingRequestRepository.addPriorityRequest(request)
// } else {
Expand Down

0 comments on commit c48af5a

Please sign in to comment.