Automatic Lint

This commit is contained in:
Syer10
2022-11-08 05:49:50 +00:00
parent e3a21285b1
commit 0f707cb372
6 changed files with 5 additions and 6 deletions

View File

@@ -33,7 +33,6 @@ object Notifications {
const val CHANNEL_LIBRARY_PROGRESS = "library_progress_channel"
const val ID_LIBRARY_PROGRESS = -302
/**
* Notification channel and ids used for app updates.
*/

View File

@@ -29,7 +29,7 @@ class UpdateCategoryMeta @Inject constructor(private val categoryRepository: Cat
fun asFlow(
category: Category,
example: Int = category.meta.example,
example: Int = category.meta.example
) = flow {
if (example != category.meta.example) {
categoryRepository.updateCategoryMeta(

View File

@@ -29,7 +29,7 @@ class UpdateGlobalMeta @Inject constructor(private val globalRepository: GlobalR
fun asFlow(
globalMeta: GlobalMeta,
example: Int = globalMeta.example,
example: Int = globalMeta.example
) = flow {
if (example != globalMeta.example) {
globalRepository.updateGlobalMeta(

View File

@@ -13,4 +13,4 @@ import kotlinx.serialization.Serializable
@Immutable
data class GlobalMeta(
val example: Int = 0
)
)

View File

@@ -12,4 +12,4 @@ import kotlinx.serialization.Serializable
data class SourceFilterData(
val searchTerm: String?,
val filter: List<SourceFilterChange>?
)
)

View File

@@ -204,7 +204,7 @@ fun WideLibraryScreenContent(
actions = {
getActionItems(
onToggleFiltersClick = { setShowingMenu(true) },
onUpdateLibrary = onUpdateLibrary,
onUpdateLibrary = onUpdateLibrary
)
}
)