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> {
|
override fun trySend(element: T): ChannelResult<Unit> {
|
||||||
TODO("not implemented")
|
TODO("not implemented")
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ExperimentalCoroutinesApi
|
@ExperimentalCoroutinesApi
|
||||||
@@ -185,7 +184,6 @@ internal class PriorityChannelImpl<T>(
|
|||||||
outChannel.close()
|
outChannel.close()
|
||||||
}
|
}
|
||||||
}.start()
|
}.start()
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ interface ExtensionRepository {
|
|||||||
@Multipart
|
@Multipart
|
||||||
@POST("api/v1/extension/install")
|
@POST("api/v1/extension/install")
|
||||||
fun installExtension(
|
fun installExtension(
|
||||||
@Part("") formData: List<PartData>,
|
@Part("") formData: List<PartData>
|
||||||
): Flow<HttpResponse>
|
): Flow<HttpResponse>
|
||||||
|
|
||||||
@GET("api/v1/extension/install/{pkgName}")
|
@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)))
|
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,
|
sourceId,
|
||||||
SourceFilterChange(filterIndex, Json.encodeToString(SourceFilterChange(childFilterIndex, filter)))
|
SourceFilterChange(filterIndex, Json.encodeToString(SourceFilterChange(childFilterIndex, filter)))
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -185,7 +185,7 @@ fun ExtensionsToolbar(
|
|||||||
searchText: String?,
|
searchText: String?,
|
||||||
search: (String) -> Unit,
|
search: (String) -> Unit,
|
||||||
openLanguageDialog: () -> Unit,
|
openLanguageDialog: () -> Unit,
|
||||||
openInstallExtensionFile: () -> Unit,
|
openInstallExtensionFile: () -> Unit
|
||||||
) {
|
) {
|
||||||
Toolbar(
|
Toolbar(
|
||||||
stringResource(MR.strings.location_extensions),
|
stringResource(MR.strings.location_extensions),
|
||||||
@@ -330,7 +330,7 @@ fun LanguageDialog(
|
|||||||
@Composable
|
@Composable
|
||||||
private fun getActionItems(
|
private fun getActionItems(
|
||||||
openLanguageDialog: () -> Unit,
|
openLanguageDialog: () -> Unit,
|
||||||
openInstallExtensionFile: () -> Unit,
|
openInstallExtensionFile: () -> Unit
|
||||||
): ImmutableList<ActionItem> {
|
): ImmutableList<ActionItem> {
|
||||||
return listOf(
|
return listOf(
|
||||||
ActionItem(
|
ActionItem(
|
||||||
|
|||||||
Reference in New Issue
Block a user