refactor: make linter happy
This commit is contained in:
@@ -71,6 +71,7 @@ import com.bitcointxoko.gudariwallet.ui.send.SendScreen
|
||||
import com.bitcointxoko.gudariwallet.ui.send.SendStrings
|
||||
import com.bitcointxoko.gudariwallet.util.SendInputType
|
||||
import kotlinx.coroutines.delay
|
||||
import kotlin.time.Duration.Companion.milliseconds
|
||||
|
||||
// ── Tab destinations ──────────────────────────────────────────────────────────
|
||||
// Note: label and icon are now resolved at the call site via LocalAppStrings,
|
||||
@@ -205,7 +206,7 @@ fun WalletScreen(
|
||||
|
||||
LaunchedEffect(clipboardOffer) {
|
||||
if (clipboardOffer is ClipboardOfferState.Detected) {
|
||||
delay(8_000)
|
||||
delay(8_000.milliseconds)
|
||||
vm.dismissClipboardOffer()
|
||||
}
|
||||
}
|
||||
@@ -215,7 +216,7 @@ fun WalletScreen(
|
||||
|
||||
LaunchedEffect(nfcOffer) {
|
||||
if (nfcOffer is NfcOfferState.Detected) {
|
||||
delay(8_000)
|
||||
delay(8_000.milliseconds)
|
||||
nfcVm.dismissNfcOffer()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user