From cc865f6f4f8dbd407749bc7410abcdaf1847468c Mon Sep 17 00:00:00 2001 From: lisonge Date: Sun, 24 Mar 2024 12:35:11 +0800 Subject: [PATCH] fix: indexCache error at getAfterBrothers (#571) --- app/src/main/kotlin/li/songe/gkd/service/AbExt.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/li/songe/gkd/service/AbExt.kt b/app/src/main/kotlin/li/songe/gkd/service/AbExt.kt index b045f7c..e0db82d 100644 --- a/app/src/main/kotlin/li/songe/gkd/service/AbExt.kt +++ b/app/src/main/kotlin/li/songe/gkd/service/AbExt.kt @@ -364,7 +364,7 @@ fun createCacheTransform(): CacheTransform { val child = parentVal.getChild(i) ?: return@sequence yield(child) } - i-- + i++ offset++ } }