You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
usdt deposit detail buttons truncate at accessibility text sizes #962
Found while driving usdt-bridge-support.xml for #948 at ab313b1, in code that PR did not touch.
Observed
At AX-XL Dynamic Type, the paired small buttons in deposit details truncate: "Reques…", "Hide de…", "Contact…", "Copy Det…".
Expected
Button labels stay readable at accessibility text sizes.
Steps to reproduce
Set Settings › Accessibility › Larger Text to AX-XL.
Open Cross-Network Deposits, open a held deposit, tap Details.
Root cause
Two CustomButton(size: .small, shouldExpand: true) sit side by side in an HStack: UsdtDepositHistoryView.swift:160-169 and UsdtSupportActions.swift:11-22.
The small button has a fixed 40 pt height and a single line of text (PrimaryButtonView.swift:27-35, Button.swift:50).
Suggested fix
Stack the buttons vertically at accessibility sizes, as UsdtIntroSheet.swift:49-51 already does (dynamicTypeSize.isAccessibilitySize ? VStackLayout : HStackLayout).
Activity