mirror of
https://github.com/BrenBroZAYT/gameyfin.git
synced 2026-06-13 16:40:01 +00:00
Add .isValid() to PluginConfigValidationResult.kt
This commit is contained in:
+4
@@ -11,6 +11,10 @@ data class PluginConfigValidationResult(
|
||||
return PluginConfigValidationResult(PluginConfigValidationResultType.INVALID, errors)
|
||||
}
|
||||
}
|
||||
|
||||
fun isValid(): Boolean {
|
||||
return result == PluginConfigValidationResultType.VALID
|
||||
}
|
||||
}
|
||||
|
||||
enum class PluginConfigValidationResultType {
|
||||
|
||||
Reference in New Issue
Block a user