mirror of
https://github.com/Suwayomi/TachideskJUI.git
synced 2025-12-10 06:42:05 +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 }
|
||||
}
|
||||
|
||||
@@ -8,6 +8,7 @@ package ca.gosyer.jui.data.base
|
||||
|
||||
import kotlinx.datetime.Instant
|
||||
|
||||
@Suppress("NO_ACTUAL_FOR_EXPECT")
|
||||
expect class DateHandler {
|
||||
val formatOptions: List<String>
|
||||
|
||||
|
||||
@@ -32,6 +32,7 @@ import io.ktor.client.plugins.auth.Auth as AuthPlugin
|
||||
|
||||
typealias Http = HttpClient
|
||||
|
||||
@Suppress("NO_ACTUAL_FOR_EXPECT")
|
||||
expect val Engine: HttpClientEngineFactory<HttpClientEngineConfig>
|
||||
|
||||
class HttpProvider @Inject constructor() {
|
||||
|
||||
Reference in New Issue
Block a user