mirror of
https://github.com/Suwayomi/TachideskJUI.git
synced 2026-01-30 15:34:07 +01:00
Suppress a few warnings
This commit is contained in:
@@ -34,6 +34,7 @@ abstract class AppComponent(
|
||||
@SuppressLint("StaticFieldLeak")
|
||||
private var appComponentInstance: AppComponent? = null
|
||||
|
||||
@Suppress("UNRESOLVED_REFERENCE", "EXPRESSION_EXPECTED_PACKAGE_FOUND")
|
||||
fun getInstance(context: Context) = appComponentInstance ?: create(context)
|
||||
.also { appComponentInstance = it }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user