Skip to content

Commit 4f9884b

Browse files
authored
add info msg for solana bridge (#969)
* add info msg for solana bridge * remove unused import * rephrase message * update info message
1 parent 8532295 commit 4f9884b

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

app/lib/screens/wallets/bridge.dart

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,37 @@ class _WalletBridgeScreenState extends ConsumerState<WalletBridgeScreen> {
235235
onTransactionChange: onTransactionChange,
236236
disableDeposit: disableDeposit,
237237
updateIsSolana: updateIsSolana),
238+
if (isSolana)
239+
Padding(
240+
padding: const EdgeInsets.symmetric(horizontal: 15.0),
241+
child: Row(
242+
crossAxisAlignment:
243+
CrossAxisAlignment.start,
244+
children: <Widget>[
245+
Icon(
246+
Icons.info,
247+
color: Theme.of(context).colorScheme.primary,
248+
size: 16,
249+
),
250+
const SizedBox(
251+
width: 8),
252+
Expanded(
253+
child: Text(
254+
'This bridge currently only supports Stellar to Solana transfers.',
255+
style: Theme.of(context)
256+
.textTheme
257+
.bodySmall!
258+
.copyWith(
259+
color:
260+
Theme.of(context).colorScheme.primary,
261+
),
262+
softWrap:
263+
true,
264+
),
265+
),
266+
],
267+
),
268+
),
238269
const SizedBox(height: 20),
239270
ListTile(
240271
title: TextField(

0 commit comments

Comments
 (0)