mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-20 00:56:31 +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
@@ -238,9 +238,7 @@ class _CustomTabBarViewState extends State<CustomTabBarView> {
|
||||
);
|
||||
}
|
||||
if (mounted) {
|
||||
setState(() {
|
||||
_updateChildren();
|
||||
});
|
||||
setState(_updateChildren);
|
||||
}
|
||||
return Future<void>.value();
|
||||
}
|
||||
@@ -280,9 +278,7 @@ class _CustomTabBarViewState extends State<CustomTabBarView> {
|
||||
}
|
||||
|
||||
if (mounted) {
|
||||
setState(() {
|
||||
_updateChildren();
|
||||
});
|
||||
setState(_updateChildren);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user