fix compile warnings

This commit is contained in:
Aria Moradi
2021-08-17 23:52:34 +04:30
parent fcdda6406e
commit a5578a7ac7
17 changed files with 39 additions and 28 deletions
@@ -25,6 +25,7 @@ object KodeinGlobalHelper {
* Get a dependency
*/
@JvmStatic
@Suppress("UNCHECKED_CAST")
fun <T : Any> instance(type: Class<T>, kodein: DI? = null): T {
return when(type) {
AndroidFiles::class.java -> {