mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-26 10:33:15 +03:00
use TextScaler for badge size
This commit is contained in:
parent
0349b37065
commit
8d128e74eb
@ -708,7 +708,7 @@ class CapabilityBadge extends StatelessWidget {
|
||||
backgroundColor: colorScheme.secondaryContainer,
|
||||
textColor: colorScheme.onSecondaryContainer,
|
||||
padding: const EdgeInsets.symmetric(horizontal: 6),
|
||||
largeSize: 20,
|
||||
largeSize: MediaQuery.of(context).textScaler.scale(20),
|
||||
label: Text(
|
||||
capability.getDisplayName(l10n),
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user