라이브 티커 · 갤럭시 검색 색인 · 주간 랭킹 스냅샷 · 연속 ZAP 상한 · 가입 행성 Zap · 성운 목표 · 랭킹 갱신 안내 · 행성 터치 반응
This commit is contained in:
@@ -192,6 +192,20 @@ class _RankingBody extends StatelessWidget {
|
||||
return ListView(
|
||||
padding: const EdgeInsets.all(AppSpace.s4),
|
||||
children: [
|
||||
// 별첨 1 ② 예외처리 — 갱신 주기 · 마지막 갱신 시각을 화면에서 안내한다.
|
||||
if (data.refreshMinutes case final minutes?) ...[
|
||||
Text(
|
||||
[
|
||||
if (data.updatedAt case final at?)
|
||||
context.l10n.planetLastUpdated(
|
||||
'${at.toLocal().hour.toString().padLeft(2, '0')}:${at.toLocal().minute.toString().padLeft(2, '0')}',
|
||||
),
|
||||
context.l10n.rankRefreshEvery('$minutes'),
|
||||
].join(' · '),
|
||||
style: _rt(12, AppColors.onCosmicMuted, FontWeight.w500),
|
||||
),
|
||||
const SizedBox(height: AppSpace.s3),
|
||||
],
|
||||
if (data.mine case final me?) ...[
|
||||
Text(myLabel, style: _rt(24, AppColors.onCosmic, FontWeight.w500)),
|
||||
const SizedBox(height: AppSpace.s4),
|
||||
|
||||
Reference in New Issue
Block a user