fix(flutter): 统一下拉刷新主色文案

This commit is contained in:
Zhou Weidong committed 2026-10-20 17:02:20 +08:00
1 parent 69eaacd74f
commit 107ae40d2a
2 files changed
+19 -7

No files matched your search

+6 -7
View File
@@ -173,15 +173,14 @@ class _AppPullToRefreshState extends State<AppPullToRefresh> {
child: Icon(
Icons.arrow_downward_rounded,
size: 18,
color: armed ? AppColors.blue : AppColors.muted,
color: AppColors.blue,
),
),
armed ? l10n.releaseToRefresh : l10n.pullToRefresh,
emphasized: armed,
);
}
Widget _label(Widget icon, String text, {bool emphasized = false}) {
Widget _label(Widget icon, String text) {
return Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
@@ -189,10 +188,10 @@ class _AppPullToRefreshState extends State<AppPullToRefresh> {
const SizedBox(width: 6),
Text(
text,
style: TextStyle(
color: emphasized ? AppColors.blue : AppColors.muted,
fontSize: 12,
fontWeight: emphasized ? FontWeight.w700 : FontWeight.w500,
style: const TextStyle(
color: AppColors.blue,
fontSize: 13,
fontWeight: FontWeight.w600,
),
),
],