add api call indicator to nfc
Auto Tag on Version Change / check-version (push) Failing after 14m27s

This commit is contained in:
2026-05-30 00:21:54 +05:00
parent 57bc488b98
commit c7718f94b3
@@ -620,10 +620,12 @@ ViewCompat.setOnApplyWindowInsetsListener(binding.contentLayout) { v, insets ->
return@launch
}
(activity as? HomeActivity)?.setRefreshing(true)
val otp = Totp.generate(otpSeed)
val result = withContext(Dispatchers.IO) {
runCatching { BmlTapToPayClient().fetchTokens(session, item.account.internalId, otp) }
}
(activity as? HomeActivity)?.setRefreshing(false)
val token = result.getOrNull()?.firstOrNull()
if (!isTapMode) return@launch // user cancelled while we were fetching