From 586f632cb98043cfd740151f3d6afcfbbec4714b Mon Sep 17 00:00:00 2001 From: Ovi Trif Date: Mon, 19 Oct 2026 19:47:04 +0200 Subject: [PATCH] fix: slide the usdt wallet in like the other wallets --- .../to/bitkit/ui/screens/wallets/usdt/UsdtWalletScreen.kt | 8 +++++++- changelog.d/next/1519.fixed.md | 1 + journeys/usdt-wallet-navigation.xml | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 changelog.d/next/1519.fixed.md diff --git a/app/src/main/java/to/bitkit/ui/screens/wallets/usdt/UsdtWalletScreen.kt b/app/src/main/java/to/bitkit/ui/screens/wallets/usdt/UsdtWalletScreen.kt index 75769b592c..54a7abaa12 100644 --- a/app/src/main/java/to/bitkit/ui/screens/wallets/usdt/UsdtWalletScreen.kt +++ b/app/src/main/java/to/bitkit/ui/screens/wallets/usdt/UsdtWalletScreen.kt @@ -79,6 +79,7 @@ import to.bitkit.ui.settingsViewModel import to.bitkit.ui.shared.UiConstants import to.bitkit.ui.shared.modifiers.clickableAlpha import to.bitkit.ui.shared.modifiers.sheetHeight +import to.bitkit.ui.shared.util.blockPointerInputPassthrough import to.bitkit.ui.theme.AppThemeSurface import to.bitkit.ui.theme.Colors import to.bitkit.ui.utils.rememberBiometricAuthSupported @@ -329,7 +330,12 @@ private fun UsdtWalletContent( val allowSwipe by settings?.enableSwipeToHideBalance?.collectAsStateWithLifecycle() ?: remember { mutableStateOf(false) } - Box(modifier = Modifier.fillMaxSize()) { + Box( + modifier = Modifier + .fillMaxSize() + .background(Colors.Black) + .blockPointerInputPassthrough() + ) { UsdtCoinIllustration( modifier = Modifier.align(Alignment.TopEnd) .offset(x = 81.dp, y = WindowInsets.statusBars.asPaddingValues().calculateTopPadding() + 4.dp) diff --git a/changelog.d/next/1519.fixed.md b/changelog.d/next/1519.fixed.md new file mode 100644 index 0000000000..0b9b438c7b --- /dev/null +++ b/changelog.d/next/1519.fixed.md @@ -0,0 +1 @@ +The USDT wallet now slides in and out like the other wallets instead of fading over the Home screen. diff --git a/journeys/usdt-wallet-navigation.xml b/journeys/usdt-wallet-navigation.xml index a742c3cb99..5ce10c29c8 100644 --- a/journeys/usdt-wallet-navigation.xml +++ b/journeys/usdt-wallet-navigation.xml @@ -3,7 +3,7 @@ Enable USDT in the introductory sheet or Settings, General, Payments before starting this flow. On Home, verify the Savings/Spending and USDT balance dividers align vertically, including any hardware wallet rows. With an odd number of paired hardware wallets, verify USDT fills the last row’s empty cell; with an even number, it starts the next row. - Verify USDT balances and activity amounts show at most two decimals; a nonzero amount below one cent shows <0.01. Open USDT from Home and verify the wallet screen uses the same balance, action buttons and activity layout as the Bitcoin wallet, with its Tether coin illustration anchored at the upper right. + Verify USDT balances and activity amounts show at most two decimals; a nonzero amount below one cent shows <0.01. Open USDT from Home and verify it slides in from the right like Savings and Spending, with no Home content showing through it, and that Back slides it out the same way. Open it again and verify the wallet screen uses the same balance, action buttons and activity layout as the Bitcoin wallet, with its Tether coin illustration anchored at the upper right. Open Receive. Verify the network is Arbitrum One. Open details, verify the address starts with 0x, and verify Details Copy contains only the address. Return to the QR and verify Copy and tapping the QR both copy only the same address, while the QR still contains the full USDT payment URI including the network and token. On Android, system Back from Details returns to the USDT QR; Back from the QR closes Receive without switching to Savings. Close Receive, open Send and manual entry. Enter an invalid Bitcoin address and verify the address error prevents continuing. Replace it with an owned valid EVM address. Continue to Amount, enter six decimal places and try a seventh; verify the amount remains limited to six. Close before requesting a quote.