only open browser when appropriate

This commit is contained in:
Aria Moradi
2021-08-09 07:15:41 +04:30
parent a213e568ba
commit 1f9c1eb1c0
3 changed files with 15 additions and 14 deletions

View File

@@ -22,7 +22,6 @@ class SystemPropertyOverrideDelegate(val config: Config, val moduleName: String)
inline operator fun <R, reified T> getValue(thisRef: R, property: KProperty<*>): T {
val configValue: T = config.getValue(thisRef, property)
println("getting " + "suwayomi.tachidesk.config.$moduleName.${property.name}")
val combined = System.getProperty(
"suwayomi.tachidesk.config.$moduleName.${property.name}",
configValue.toString()