关怀模式
This commit is contained in:
@@ -178,7 +178,7 @@ class TapLiquidGlassNavigation extends StatelessWidget {
|
||||
fontSize: 12,
|
||||
fontWeight: isSelected ? FontWeight.w600 : FontWeight.w400,
|
||||
color: isSelected
|
||||
? AppConstants.primaryColor
|
||||
? themeController.currentThemeColor
|
||||
: (isDark ? Colors.grey[400] : Colors.grey[600]),
|
||||
letterSpacing: 0.15,
|
||||
),
|
||||
@@ -193,11 +193,13 @@ class TapLiquidGlassNavigation extends StatelessWidget {
|
||||
}
|
||||
|
||||
Widget _buildIcon(_NavItem item, bool isSelected, bool isDark) {
|
||||
final themeController = Get.find<ThemeController>();
|
||||
|
||||
return Icon(
|
||||
item.icon,
|
||||
size: 24,
|
||||
color: isSelected
|
||||
? AppConstants.primaryColor
|
||||
? themeController.currentThemeColor
|
||||
: (isDark ? Colors.grey[400] : Colors.grey[600]),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user