got rid of deprecated methods

This commit is contained in:
Arseni
2025-12-26 15:04:41 +03:00
parent 34a565d86d
commit 63448ab267
2 changed files with 3 additions and 3 deletions

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,