mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-12 03:58:56 +01:00
Minor cleanup
- Use outlined icons where appropriate to match previous UI - Allow tapping entire ChapterHeader to bring up sheet
This commit is contained in:
@@ -299,7 +299,7 @@ fun ExtensionItemContent(
|
||||
|
||||
if (warning != null) {
|
||||
Text(
|
||||
text = stringResource(id = warning).uppercase(),
|
||||
text = stringResource(warning).uppercase(),
|
||||
style = MaterialTheme.typography.bodySmall.copy(
|
||||
color = MaterialTheme.colorScheme.error,
|
||||
),
|
||||
@@ -370,7 +370,7 @@ fun ExtensionHeader(
|
||||
action: @Composable RowScope.() -> Unit = {},
|
||||
) {
|
||||
ExtensionHeader(
|
||||
text = stringResource(id = textRes),
|
||||
text = stringResource(textRes),
|
||||
modifier = modifier,
|
||||
action = action,
|
||||
)
|
||||
|
||||
@@ -219,7 +219,7 @@ fun SourceOptionsDialog(
|
||||
Column {
|
||||
val textId = if (Pin.Pinned in source.pin) R.string.action_unpin else R.string.action_pin
|
||||
Text(
|
||||
text = stringResource(id = textId),
|
||||
text = stringResource(textId),
|
||||
modifier = Modifier
|
||||
.clickable(onClick = onClickPin)
|
||||
.fillMaxWidth()
|
||||
|
||||
Reference in New Issue
Block a user