aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/utils/repopatterns
diff options
context:
space:
mode:
authorThunderblade73 <85900443+Thunderblade73@users.noreply.github.com>2024-06-30 11:54:52 +0200
committerGitHub <noreply@github.com>2024-06-30 11:54:52 +0200
commit8bcdd9b6de9f7fc53cfed31ab84187092ea4dc6e (patch)
tree0af5845280784c7053401258800f26c9bc9f189c /src/main/java/at/hannibal2/skyhanni/utils/repopatterns
parent19606e3e9eda872c7f8036197213026d1326db45 (diff)
downloadskyhanni-8bcdd9b6de9f7fc53cfed31ab84187092ea4dc6e.tar.gz
skyhanni-8bcdd9b6de9f7fc53cfed31ab84187092ea4dc6e.tar.bz2
skyhanni-8bcdd9b6de9f7fc53cfed31ab84187092ea4dc6e.zip
Feature: Scrolling pages (#2164)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils/repopatterns')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/repopatterns/RepoPatternManager.kt5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/repopatterns/RepoPatternManager.kt b/src/main/java/at/hannibal2/skyhanni/utils/repopatterns/RepoPatternManager.kt
index 2ec62fd3f..8f55a8b1f 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/repopatterns/RepoPatternManager.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/repopatterns/RepoPatternManager.kt
@@ -213,6 +213,11 @@ object RepoPatternManager {
arrayPattern.wasOverridden = false
}
+ if (localLoading) {
+ setDefaultPatterns()
+ return
+ }
+
if (patternMap.mapTo(mutableSetOf()) { it.first } != patternMap.indices.toSet()) {
logger.error("Incorrect index set for $arrayPattern")
setDefaultPatterns()