Fix build
This commit is contained in:
parent
91d45cc8b9
commit
8effc7eb05
@ -1,5 +1,6 @@
|
||||
package eu.kanade.presentation.manga.components
|
||||
|
||||
import androidx.compose.foundation.BorderStroke
|
||||
import androidx.compose.foundation.layout.Arrangement
|
||||
import androidx.compose.foundation.layout.Column
|
||||
import androidx.compose.foundation.layout.FlowRow
|
||||
@ -32,7 +33,6 @@ import exh.metadata.metadata.base.RaisedTag
|
||||
import exh.source.EH_SOURCE_ID
|
||||
import exh.source.EXH_SOURCE_ID
|
||||
import exh.util.SourceTagsUtil
|
||||
import androidx.compose.material3.ChipBorder as ChipBorderM3
|
||||
import androidx.compose.material3.SuggestionChipDefaults as SuggestionChipDefaultsM3
|
||||
|
||||
@Immutable
|
||||
@ -123,8 +123,8 @@ fun NamespaceTags(
|
||||
SuggestionChipDefaults.suggestionChipBorder(borderWidth = it)
|
||||
} ?: SuggestionChipDefaults.suggestionChipBorder(),
|
||||
borderM3 = borderDp?.let {
|
||||
SuggestionChipDefaultsM3.suggestionChipBorder(borderWidth = it)
|
||||
} ?: SuggestionChipDefaultsM3.suggestionChipBorder(),
|
||||
SuggestionChipDefaultsM3.suggestionChipBorder(enabled = true, borderWidth = it)
|
||||
} ?: SuggestionChipDefaultsM3.suggestionChipBorder(enabled = true),
|
||||
)
|
||||
}
|
||||
}
|
||||
@ -135,11 +135,11 @@ fun NamespaceTags(
|
||||
|
||||
@Composable
|
||||
fun TagsChip(
|
||||
modifier: Modifier = Modifier,
|
||||
text: String,
|
||||
onClick: (() -> Unit)?,
|
||||
modifier: Modifier = Modifier,
|
||||
border: ChipBorder? = SuggestionChipDefaults.suggestionChipBorder(),
|
||||
borderM3: ChipBorderM3? = SuggestionChipDefaultsM3.suggestionChipBorder(),
|
||||
borderM3: BorderStroke? = SuggestionChipDefaultsM3.suggestionChipBorder(enabled = true),
|
||||
) {
|
||||
CompositionLocalProvider(LocalMinimumInteractiveComponentEnforcement provides false) {
|
||||
if (onClick != null) {
|
||||
|
@ -582,7 +582,6 @@
|
||||
<string name="short_title">短标题</string>
|
||||
<string name="cover_image_file_type">转换图像类型</string>
|
||||
<string name="thumbnail_image_file_type">缓存图像类型</string>
|
||||
<string name="scanlator">扫译组</string>
|
||||
<string name="uploader_capital">上传者名字</string>
|
||||
<string name="uploader">上传者</string>
|
||||
<string name="rating_string">评分字符串</string>
|
||||
|
Loading…
x
Reference in New Issue
Block a user