Got rid of deprecated methods #191

Merged
tech merged 1 commits from SEND019 into main 2025-12-26 13:09:57 +00:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 63448ab267 - Show all commits

View File

@@ -52,7 +52,7 @@ class WalletTopUpAddressBlock extends StatelessWidget {
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(dimensions.borderRadiusSmall),
border: Border.all(color: theme.colorScheme.outlineVariant),
color: theme.colorScheme.surfaceVariant.withOpacity(0.4),
color: theme.colorScheme.surfaceContainerHighest.withValues(alpha: 0.4),
),
child: SelectableText(
address,
@@ -72,7 +72,7 @@ class WalletTopUpAddressBlock extends StatelessWidget {
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(dimensions.borderRadiusSmall),
border: Border.all(color: theme.colorScheme.outlineVariant),
color: theme.colorScheme.surfaceVariant.withOpacity(0.4),
color: theme.colorScheme.surfaceContainerHighest.withValues(alpha: 0.4),
),
child: Center(
child: QrImageView(

View File

@@ -23,7 +23,7 @@ class WalletTopUpInfoChip extends StatelessWidget {
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(dimensions.borderRadiusSmall),
border: Border.all(color: theme.colorScheme.outlineVariant),
color: theme.colorScheme.surfaceVariant.withOpacity(0.4),
color: theme.colorScheme.surfaceContainerHighest.withValues(alpha: 0.4),
),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,