mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-27 12:36:27 +08:00
tweaks (#1142)
* opt: unused layout * mod: semantics * opt: DanmakuMsg type * opt: avoid cast * opt: unnecessary_lambdas * opt: use isEven * opt: logger * opt: invalid common page * tweak * opt: unify DynController
This commit is contained in:
committed by
GitHub
parent
56ffc2781f
commit
5f8313901b
@@ -304,7 +304,7 @@ class UserInfoCard extends StatelessWidget {
|
||||
Row(
|
||||
children: List.generate(
|
||||
5,
|
||||
(index) => index % 2 == 0
|
||||
(index) => index.isEven
|
||||
? _countWidget(
|
||||
colorScheme: colorScheme,
|
||||
title: ['粉丝', '关注', '获赞'][index ~/ 2],
|
||||
|
||||
Reference in New Issue
Block a user