mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-26 10:33:15 +03:00
fix icon dialog style/theming
This commit is contained in:
parent
2f71b8e72b
commit
dfe8b23e58
@ -42,11 +42,10 @@ class IconPackDialog extends ConsumerWidget {
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
const SizedBox(height: 4),
|
||||
RichText(
|
||||
text: TextSpan(
|
||||
text: l10n.oath_custom_icons_description,
|
||||
style: TextStyle(color: theme.textTheme.bodyLarge?.color),
|
||||
style: theme.textTheme.bodyMedium,
|
||||
children: [_createLearnMoreLink(context, [])],
|
||||
),
|
||||
),
|
||||
@ -150,7 +149,7 @@ class IconPackDialog extends ConsumerWidget {
|
||||
final theme = Theme.of(context);
|
||||
return TextSpan(
|
||||
text: AppLocalizations.of(context)!.oath_custom_icons_learn_more,
|
||||
style: TextStyle(color: theme.colorScheme.primary),
|
||||
style: theme.textTheme.bodyMedium?.copyWith(color: theme.colorScheme.primary),
|
||||
recognizer: TapGestureRecognizer()
|
||||
..onTap = () async {
|
||||
await launchUrl(
|
||||
|
Loading…
Reference in New Issue
Block a user