feat: allow disabling REI integration

This commit is contained in:
Linnea Gräf
2025-07-07 12:20:04 +02:00
parent 4d2876fb6c
commit 965bf944ba
4 changed files with 29 additions and 7 deletions

View File

@@ -35,7 +35,7 @@ object RepoManager {
branch = "master"
save()
}
val enableREI by toggle("enable-rei") { true }
val disableItemGroups by toggle("disable-item-groups") { true }
val reload by button("reload") {
save()
@@ -196,4 +196,6 @@ object RepoManager {
fun getRepoRef(): String {
return "${Config.username}/${Config.reponame}#${Config.branch}"
}
fun shouldLoadREI(): Boolean = Config.enableREI
}