Wrap long passphrase value on the wallet seed/keys screen (#3480)

claude[bot] committed Aug 5, 2026 at 08:42 UTC 0e42f162be83dd7757399560721214b93eb71bbc
1 file changed +17 -12
lib/src/screens/wallet_keys/wallet_keys_page.dart
+17 -12
@@ -300,6 +300,7 @@ class _WalletKeysPageBodyState extends State<WalletKeysPageBody>
300 color: Theme.of(context).colorScheme.surfaceContainer,
301 ),
302 child: Row(
303 + crossAxisAlignment: CrossAxisAlignment.start,
304 mainAxisAlignment: MainAxisAlignment.center,
305 children: [
306 Text(
@@ -313,21 +314,25 @@ class _WalletKeysPageBodyState extends State<WalletKeysPageBody>
314 const SizedBox(width: 6),
315 Expanded(
316 child: Row(
317 + crossAxisAlignment: CrossAxisAlignment.start,
318 mainAxisAlignment: MainAxisAlignment.spaceBetween,
319 children: [
318 - Observer(
319 - builder: (BuildContext context) {
320 - return Text(
321 - (widget.walletKeysViewModel.obscurePassphrase)
322 - ? "*****"
323 - : widget.walletKeysViewModel.passphrase,
324 - style: Theme.of(context).textTheme.bodyMedium!.copyWith(
325 - fontWeight: FontWeight.w500,
326 - color: Theme.of(context).colorScheme.onSurfaceVariant,
327 - ),
328 - );
329 - },
320 + Expanded(
321 + child: Observer(
322 + builder: (BuildContext context) {
323 + return Text(
324 + (widget.walletKeysViewModel.obscurePassphrase)
325 + ? "*****"
326 + : widget.walletKeysViewModel.passphrase,
327 + style: Theme.of(context).textTheme.bodyMedium!.copyWith(
328 + fontWeight: FontWeight.w500,
329 + color: Theme.of(context).colorScheme.onSurfaceVariant,
330 + ),
331 + );
332 + },
333 + ),
334 ),
335 + const SizedBox(width: 6),
336 Observer(
337 builder: (BuildContext context) {
338 return GestureDetector(