Use stricter visibility for composables where possible

This commit is contained in:
arkon
2023-03-05 18:41:08 -05:00
parent e458de5e9c
commit 9b77759f24
28 changed files with 274 additions and 308 deletions

View File

@@ -50,7 +50,7 @@ import tachiyomi.presentation.core.util.selectedBackground
import java.util.Date
import kotlin.time.Duration.Companion.minutes
fun LazyListScope.updatesLastUpdatedItem(
internal fun LazyListScope.updatesLastUpdatedItem(
lastUpdated: Long,
) {
item(key = "updates-lastUpdated") {
@@ -80,7 +80,7 @@ fun LazyListScope.updatesLastUpdatedItem(
}
}
fun LazyListScope.updatesUiItems(
internal fun LazyListScope.updatesUiItems(
uiModels: List<UpdatesUiModel>,
selectionMode: Boolean,
onUpdateSelected: (UpdatesItem, Boolean, Boolean, Boolean) -> Unit,
@@ -146,7 +146,7 @@ fun LazyListScope.updatesUiItems(
}
@Composable
fun UpdatesUiItem(
private fun UpdatesUiItem(
modifier: Modifier,
update: UpdatesWithRelations,
selected: Boolean,