reduce rebuild

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-03-17 14:38:10 +08:00
parent 8a8aa6c1e0
commit d6579b29ae
23 changed files with 254 additions and 214 deletions

View File

@@ -64,7 +64,7 @@ class _DanmakuBlockPageState extends State<DanmakuBlockPage> {
children: DmBlockType.values
.map(
(e) => KeepAliveWrapper(
builder: (context) => Obx(
child: Obx(
() => tabViewBuilder(e.index, _controller.rules[e.index]),
),
),