mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-04-22 10:38:39 +00:00
fix(checkin): prevent visual flicker when loading check-in component
- Add initialLoaded state to track first data load completion - Set isCollapsed to null initially, determined after data loads - Show loading state on button and description text before data arrives - Remove auto-collapse effect that caused visual flicker - Add i18n translations for loading states (en/fr/ja/ru/vi/zh) Fixes issue where component would collapse/expand after data loads, causing visual flicker when navigating to personal settings page.
This commit is contained in:
@@ -2251,6 +2251,8 @@
|
||||
"每日签到可获得随机额度奖励": "Ежедневная регистрация награждает случайной квотой",
|
||||
"今日已签到": "Зарегистрирован сегодня",
|
||||
"立即签到": "Зарегистрироваться сейчас",
|
||||
"加载中...": "Загрузка...",
|
||||
"正在加载签到状态...": "Загрузка статуса регистрации...",
|
||||
"获取签到状态失败": "Не удалось получить статус регистрации",
|
||||
"签到成功!获得": "Регистрация успешна! Получено",
|
||||
"签到失败": "Регистрация не удалась",
|
||||
|
||||
Reference in New Issue
Block a user