File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -398,7 +398,7 @@ class _SubscriptionViewState extends State<SubscriptionView> with AutomaticKeepA
398398 style: TextStyle (
399399 fontSize: 12 ,
400400 color: Theme .of (context).colorScheme.onPrimary
401-
401+
402402 ),
403403 ),
404404 ),
@@ -477,12 +477,16 @@ class _SubscriptionViewState extends State<SubscriptionView> with AutomaticKeepA
477477
478478 const SizedBox (height: 8 ),
479479
480- // 4. 时间
481480 Text (
482- '上次更新: ${formatTimeAgo (sub ['update' ] as String )} | '
483- '${(sub ['expire' ] as int ) == 0
481+ (sub['expire' ] as int ) == 0
484482 ? '到期时间: ∞'
485- : '到期时间: ${DateTime .fromMillisecondsSinceEpoch ((sub ['expire' ] as int ) * 1000 ).toString ().split (" " )[0 ]}' }' ,
483+ : '到期时间: ${DateTime .fromMillisecondsSinceEpoch ((sub ['expire' ] as int ) * 1000 ).toString ().split (" " )[0 ]}' ,
484+ style: Theme .of (context).textTheme.bodySmall,
485+ overflow: TextOverflow .ellipsis,
486+ ),
487+ const SizedBox (height: 8 ),
488+ Text (
489+ '上次更新: ${formatTimeAgo (sub ['update' ] as String )}' ,
486490 style: Theme .of (context).textTheme.bodySmall,
487491 overflow: TextOverflow .ellipsis,
488492 ),
You can’t perform that action at this time.
0 commit comments