mirror of
https://github.com/BrenBroZAYT/gameyfin.git
synced 2026-06-16 16:20:04 +00:00
Fix minor bug in ConfigService array parsing
This commit is contained in:
@@ -38,7 +38,9 @@ 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)
|
||||||
|
null
|
||||||
|
else if (appConfig.value.isEmpty())
|
||||||
emptyArray()
|
emptyArray()
|
||||||
else
|
else
|
||||||
appConfig.value.split(",").toTypedArray()
|
appConfig.value.split(",").toTypedArray()
|
||||||
|
|||||||
Reference in New Issue
Block a user