debug: trace RootViewModel.handleDeepLink top-level entry; add PEZ Airdrop label + trust-score gate to Mining Simulation

Deep link debug: DeepLinkModule wiring at app/root/di/deeplink/DeepLinksModule.kt
confirmed MultisigDeepLinks IS included in the assembled handler list (ruling that
out), yet the earlier MultisigOperationDetailsDeepLinkHandler-level Log.e calls never
fired at all - not even the very first one in matches(). Logging one level up, at
the true entry point, to see the raw Uri/scheme/authority/path as parsed and the
final Result, before guessing further.

Mining Simulation: adds a 'PEZ Airdrop' label above the square (user request), and
refuses to activate + shows an explicit error if trust score is 0, instead of
silently starting a permanently-zero-rate session.
This commit is contained in:
2026-07-18 15:58:41 -07:00
parent fe8f907c12
commit b700637d3d
4 changed files with 20 additions and 1 deletions
@@ -225,8 +225,11 @@ class RootViewModel(
}
fun handleDeepLink(data: Uri) {
android.util.Log.e("DeepLinkDebug", "RootViewModel.handleDeepLink: raw=$data scheme=${data.scheme} authority=${data.authority} path=${data.path}")
launch {
deepLinkHandler.handleDeepLink(data)
val result = deepLinkHandler.handleDeepLink(data)
android.util.Log.e("DeepLinkDebug", "RootViewModel.handleDeepLink: result=$result exceptionOrNull=${result.exceptionOrNull()}")
result
.onFailureInstance<DeepLinkHandlingException, Unit> {
val errorMessage = formatDeepLinkHandlingException(resourceManager, it)
showError(errorMessage)