feat: Update biometric icon color to match theme and enhance visibility
This commit is contained in:
@@ -56,9 +56,10 @@ class BiometricChoiceScreen extends StatelessWidget {
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||
children: [
|
||||
const Icon(
|
||||
Icon(
|
||||
Icons.fingerprint,
|
||||
size: 44,
|
||||
color: IconTheme.of(context).color,
|
||||
),
|
||||
const SizedBox(height: 16),
|
||||
const Text(
|
||||
|
||||
@@ -80,9 +80,10 @@ class _BiometricGateScreenState extends State<BiometricGateScreen> {
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||
children: [
|
||||
const Icon(
|
||||
Icon(
|
||||
Icons.fingerprint,
|
||||
size: 44,
|
||||
color: IconTheme.of(context).color,
|
||||
),
|
||||
const SizedBox(height: 16),
|
||||
const Text(
|
||||
|
||||
@@ -42,6 +42,8 @@ class MenuDrawer extends StatelessWidget {
|
||||
label: 'Mis notas borradas',
|
||||
selected: selectedItem == 'deleted_notes',
|
||||
onTap: () => onMenuItemTapped?.call('deleted_notes'),
|
||||
iconColor: Colors.redAccent,
|
||||
textColor: Colors.redAccent,
|
||||
),
|
||||
const Divider(color: Colors.white12, height: 16),
|
||||
_MenuItemTile(
|
||||
@@ -62,12 +64,16 @@ class _MenuItemTile extends StatelessWidget {
|
||||
required this.label,
|
||||
this.selected = false,
|
||||
this.onTap,
|
||||
this.iconColor,
|
||||
this.textColor,
|
||||
});
|
||||
|
||||
final IconData icon;
|
||||
final String label;
|
||||
final bool selected;
|
||||
final VoidCallback? onTap;
|
||||
final Color? iconColor;
|
||||
final Color? textColor;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
@@ -95,10 +101,10 @@ class _MenuItemTile extends StatelessWidget {
|
||||
: BorderRadius.circular(12),
|
||||
),
|
||||
child: ListTile(
|
||||
leading: Icon(icon, color: foregroundColor),
|
||||
leading: Icon(icon, color: iconColor ?? foregroundColor),
|
||||
title: Text(
|
||||
label,
|
||||
style: TextStyle(color: foregroundColor, fontSize: 14),
|
||||
style: TextStyle(color: textColor ?? foregroundColor, fontSize: 14),
|
||||
),
|
||||
onTap: onTap,
|
||||
hoverColor: Colors.white.withValues(alpha: 0.1),
|
||||
|
||||
Reference in New Issue
Block a user