mirror of
https://github.com/Suwayomi/TachideskJUI.git
synced 2025-12-10 06:42:05 +01:00
Automatic Lint
This commit is contained in:
@@ -96,7 +96,6 @@ internal open class ProcessChannel<T>(
|
||||
override fun trySend(element: T): ChannelResult<Unit> {
|
||||
TODO("not implemented")
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ExperimentalCoroutinesApi
|
||||
@@ -185,7 +184,6 @@ internal class PriorityChannelImpl<T>(
|
||||
outChannel.close()
|
||||
}
|
||||
}.start()
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -202,4 +200,4 @@ fun <T> PriorityChannel(
|
||||
maxCapacity: Int = 4096,
|
||||
scope: CoroutineScope = GlobalScope,
|
||||
comparator: Comparator<T>
|
||||
): Channel<T> = PriorityChannelImpl(maxCapacity, scope, comparator)
|
||||
): Channel<T> = PriorityChannelImpl(maxCapacity, scope, comparator)
|
||||
|
||||
@@ -33,7 +33,7 @@ interface ExtensionRepository {
|
||||
@Multipart
|
||||
@POST("api/v1/extension/install")
|
||||
fun installExtension(
|
||||
@Part("") formData: List<PartData>,
|
||||
@Part("") formData: List<PartData>
|
||||
): Flow<HttpResponse>
|
||||
|
||||
@GET("api/v1/extension/install/{pkgName}")
|
||||
|
||||
@@ -30,4 +30,4 @@ class GetFilterList @Inject constructor(private val sourceRepository: SourceRepo
|
||||
companion object {
|
||||
private val log = logging()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,4 +30,4 @@ class GetLatestManga @Inject constructor(private val sourceRepository: SourceRep
|
||||
companion object {
|
||||
private val log = logging()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,4 +30,4 @@ class GetPopularManga @Inject constructor(private val sourceRepository: SourceRe
|
||||
companion object {
|
||||
private val log = logging()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,4 +38,4 @@ class GetSearchManga @Inject constructor(private val sourceRepository: SourceRep
|
||||
companion object {
|
||||
private val log = logging()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,4 +23,4 @@ class GetSourceList @Inject constructor(private val sourceRepository: SourceRepo
|
||||
companion object {
|
||||
private val log = logging()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,4 +30,4 @@ class GetSourceSettings @Inject constructor(private val sourceRepository: Source
|
||||
companion object {
|
||||
private val log = logging()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@ class SetSourceFilter @Inject constructor(private val sourceRepository: SourceRe
|
||||
SourceFilterChange(filterIndex, Json.encodeToString(SourceFilterChange(childFilterIndex, filter)))
|
||||
)
|
||||
|
||||
fun asFlow(sourceId: Long, filterIndex: Int, childFilterIndex: Int,filter: Any) = sourceRepository.setFilter(
|
||||
fun asFlow(sourceId: Long, filterIndex: Int, childFilterIndex: Int, filter: Any) = sourceRepository.setFilter(
|
||||
sourceId,
|
||||
SourceFilterChange(filterIndex, Json.encodeToString(SourceFilterChange(childFilterIndex, filter)))
|
||||
)
|
||||
@@ -57,4 +57,4 @@ class SetSourceFilter @Inject constructor(private val sourceRepository: SourceRe
|
||||
companion object {
|
||||
private val log = logging()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -37,4 +37,4 @@ class SetSourceSetting @Inject constructor(private val sourceRepository: SourceR
|
||||
companion object {
|
||||
private val log = logging()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -185,7 +185,7 @@ fun ExtensionsToolbar(
|
||||
searchText: String?,
|
||||
search: (String) -> Unit,
|
||||
openLanguageDialog: () -> Unit,
|
||||
openInstallExtensionFile: () -> Unit,
|
||||
openInstallExtensionFile: () -> Unit
|
||||
) {
|
||||
Toolbar(
|
||||
stringResource(MR.strings.location_extensions),
|
||||
@@ -330,7 +330,7 @@ fun LanguageDialog(
|
||||
@Composable
|
||||
private fun getActionItems(
|
||||
openLanguageDialog: () -> Unit,
|
||||
openInstallExtensionFile: () -> Unit,
|
||||
openInstallExtensionFile: () -> Unit
|
||||
): ImmutableList<ActionItem> {
|
||||
return listOf(
|
||||
ActionItem(
|
||||
|
||||
Reference in New Issue
Block a user