mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 14:27:57 +01:00 
			
		
		
		
	Minor cleanup
This commit is contained in:
		| @@ -23,6 +23,12 @@ class StubSource( | ||||
|  | ||||
|     override fun toString(): String = | ||||
|         if (isInvalid.not()) "$name (${lang.uppercase()})" else id.toString() | ||||
|  | ||||
|     companion object { | ||||
|         fun from(source: Source): StubSource { | ||||
|             return StubSource(id = source.id, lang = source.lang, name = source.name) | ||||
|         } | ||||
|     } | ||||
| } | ||||
|  | ||||
| class SourceNotInstalledException : Exception() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user