Little cleanup for stub source (#7519)

* Little cleanup for stub source

Fixes instances where name shows up blank for stub sources

* Review Changes

Co-authored-by: Andreas <andreas.everos@gmail.com>

Co-authored-by: Andreas <andreas.everos@gmail.com>
This commit is contained in:
AntsyLich
2022-07-15 03:17:31 +06:00
committed by GitHub
parent 4684797dfb
commit 902bb35ba7
2 changed files with 8 additions and 8 deletions

View File

@@ -4,4 +4,7 @@ data class SourceData(
val id: Long,
val lang: String,
val name: String,
)
) {
val isMissingInfo: Boolean = name.isBlank() || lang.isBlank()
}