From 8d128e74eb04bcc89827e8376390e6647a917e28 Mon Sep 17 00:00:00 2001 From: Adam Velebil Date: Wed, 17 Apr 2024 09:17:01 +0200 Subject: [PATCH] use TextScaler for badge size --- lib/app/views/app_page.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/app/views/app_page.dart b/lib/app/views/app_page.dart index fa649cdf..9d327674 100755 --- a/lib/app/views/app_page.dart +++ b/lib/app/views/app_page.dart @@ -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), ),