mirror of
https://github.com/BrenBroZAYT/gameyfin.git
synced 2026-06-17 08:15:44 +00:00
Fix minor bug in ConfigService array parsing
This commit is contained in:
@@ -39,7 +39,7 @@ class ConfigService(
|
|||||||
val parsedValue =
|
val parsedValue =
|
||||||
if (configProperty.type.java.isArray)
|
if (configProperty.type.java.isArray)
|
||||||
if (appConfig?.value == null || appConfig.value.isEmpty())
|
if (appConfig?.value == null || appConfig.value.isEmpty())
|
||||||
emptyArray()
|
null
|
||||||
else
|
else
|
||||||
appConfig.value.split(",").toTypedArray()
|
appConfig.value.split(",").toTypedArray()
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user