Skip to content

Commit

Permalink
Change info text color and padding
Browse files Browse the repository at this point in the history
  • Loading branch information
elibon99 committed Jan 24, 2025
1 parent 5c88d85 commit c96b1fb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion lib/piv/views/generate_key_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,9 @@ class _GenerateKeyDialogState extends ConsumerState<GenerateKeyDialog> {
displayDialog: fullScreen,
infoText: RichText(
text: TextSpan(
style: textTheme.bodySmall,
style: textTheme.bodySmall?.copyWith(
color: colorScheme.onSurfaceVariant,
),
children: [
TextSpan(
text: l10n.s_algorithm,
Expand Down
4 changes: 3 additions & 1 deletion lib/piv/views/manage_key_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,9 @@ class _ManageKeyDialogState extends ConsumerState<ManageKeyDialog> {
displayDialog: fullScreen,
infoText: RichText(
text: TextSpan(
style: textTheme.bodySmall,
style: textTheme.bodySmall?.copyWith(
color: colorScheme.onSurfaceVariant,
),
children: [
TextSpan(
text: l10n.s_management_key_algorithm,
Expand Down
1 change: 0 additions & 1 deletion lib/widgets/info_popup_button.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ class InfoPopupButton extends StatelessWidget {
tooltip: l10n.s_more_info,
constraints: BoxConstraints(maxWidth: 250, maxHeight: 400),
popUpAnimationStyle: AnimationStyle(duration: Duration.zero),
menuPadding: EdgeInsets.zero,
borderRadius: BorderRadius.circular(25),
child: SizedBox(
height: size,
Expand Down

0 comments on commit c96b1fb

Please sign in to comment.