mirror of
https://github.com/Suwayomi/TachideskJUI.git
synced 2025-12-11 15:22:03 +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()
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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}")
|
||||
|
||||
@@ -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)))
|
||||
)
|
||||
|
||||
@@ -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