mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-08-05 02:00:13 +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
@@ -259,7 +259,7 @@ class _HorizontalMemberPageState extends State<HorizontalMemberPage>
|
||||
Obx(
|
||||
() => Row(
|
||||
children: List.generate(5, (index) {
|
||||
if (index % 2 == 0) {
|
||||
if (index.isEven) {
|
||||
return _buildChildInfo(
|
||||
theme: theme,
|
||||
title: const ['粉丝', '关注', '获赞'][index ~/ 2],
|
||||
|
||||
Reference in New Issue
Block a user