mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 05:57:03 +05:30
refactor(common): workaround false-positive MagicNumber
lint
This commit is contained in:
parent
8f927613f3
commit
069d7e5e05
2 changed files with 1 additions and 2 deletions
|
@ -180,7 +180,7 @@ fun CommentsButton(
|
|||
badge = {
|
||||
if (commentCount != null) {
|
||||
Badge(
|
||||
modifier = Modifier.absoluteOffset(x = (-8).dp),
|
||||
modifier = Modifier.absoluteOffset(x = -(8.dp)),
|
||||
containerColor = MaterialTheme.colorScheme.tertiaryContainer,
|
||||
) {
|
||||
Text(
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
<ManuallySuppressedIssues></ManuallySuppressedIssues>
|
||||
<CurrentIssues>
|
||||
<ID>MagicNumber:CommentEntry.kt$16</ID>
|
||||
<ID>MagicNumber:LobstersCard.kt$8</ID>
|
||||
<ID>MagicNumber:Theme.kt$31</ID>
|
||||
<ID>ModifierMissing:ClawAppBar.kt$ClawAppBarPreview</ID>
|
||||
<ID>ModifierReused:LobstersCard.kt$Row( modifier = modifier, verticalAlignment = Alignment.CenterVertically, horizontalArrangement = Arrangement.spacedBy(8.dp), ) { NetworkImage( url = avatarUrl, placeholder = ClawIcons.Account, contentDescription = contentDescription, modifier = modifier.requiredSize(24.dp).clip(CircleShape), ) Text(text = text, modifier = modifier, style = MaterialTheme.typography.bodyMedium) }</ID>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue