diff --git a/app/shared/src/commonMain/kotlin/ui/subject/cache/CacheListGroup.kt b/app/shared/src/commonMain/kotlin/ui/subject/cache/CacheListGroup.kt index ef44a65357..8cce44993d 100644 --- a/app/shared/src/commonMain/kotlin/ui/subject/cache/CacheListGroup.kt +++ b/app/shared/src/commonMain/kotlin/ui/subject/cache/CacheListGroup.kt @@ -1,3 +1,12 @@ +/* + * Copyright (C) 2024 OpenAni and contributors. + * + * 此源代码的使用受 GNU AFFERO GENERAL PUBLIC LICENSE version 3 许可证的约束, 可以在以下链接找到该许可证. + * Use of this source code is governed by the GNU AGPLv3 license, which can be found at the following link. + * + * https://github.com/open-ani/ani/blob/main/LICENSE + */ + @file:Suppress("PropertyName") package me.him188.ani.app.ui.subject.cache @@ -157,6 +166,7 @@ fun SettingsScope.EpisodeCacheListGroup( MediaSelectorView( selectorPresentation, sourceResults = { MediaSourceResultsView(sourceResults, selectorPresentation) }, + stickyHeaderBackgroundColor = BottomSheetDefaults.ContainerColor, modifier = Modifier.padding(vertical = 12.dp, horizontal = 16.dp) .navigationBarsPadding() .fillMaxHeight() // 防止添加筛选后数量变少导致 bottom sheet 高度变化