Skip to content

Commit

Permalink
Fix #1006 条目缓存 media selector sticky header 背景透明
Browse files Browse the repository at this point in the history
  • Loading branch information
Him188 committed Sep 25, 2024
1 parent d560f35 commit 10ea2e9
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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 高度变化
Expand Down

0 comments on commit 10ea2e9

Please sign in to comment.