Skip to content

Commit 91e3ab7

Browse files
committed
chore: lint
1 parent ed7b611 commit 91e3ab7

File tree

4 files changed

+2
-6
lines changed

4 files changed

+2
-6
lines changed

app/src/main/java/to/bitkit/ui/ContentView.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,6 @@ fun ContentView(
351351
val hasSeenShopIntro by settingsViewModel.hasSeenShopIntro.collectAsStateWithLifecycle()
352352

353353
val currentSheet by appViewModel.currentSheet.collectAsStateWithLifecycle()
354-
val hazeState = rememberHazeState()
355354

356355
Box(
357356
modifier = modifier.fillMaxSize()

app/src/main/java/to/bitkit/ui/components/ActivityBanner.kt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ private const val GLOW_ANIMATION_MILLIS = 1200
4242

4343
@Composable
4444
fun ActivityBanner(
45-
modifier: Modifier = Modifier,
46-
onClick: (() -> Unit)? = null,
4745
gradientColor: Color,
4846
title: String,
4947
@DrawableRes icon: Int,
48+
modifier: Modifier = Modifier,
49+
onClick: (() -> Unit)? = null,
5050
) {
5151
val infiniteTransition = rememberInfiniteTransition(label = "glow")
5252

@@ -156,7 +156,6 @@ fun ActivityBanner(
156156
horizontalArrangement = Arrangement.spacedBy(8.dp),
157157
verticalAlignment = Alignment.CenterVertically
158158
) {
159-
160159
Icon(
161160
painter = painterResource(icon),
162161
contentDescription = null,

app/src/main/java/to/bitkit/ui/components/TabBar.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ import to.bitkit.ui.shared.util.primaryButtonStyle
4646
import to.bitkit.ui.theme.AppThemeSurface
4747
import to.bitkit.ui.theme.Colors
4848

49-
5049
private val iconToTextGap = 4.dp
5150
private val iconSize = 20.dp
5251

app/src/main/java/to/bitkit/ui/shared/util/Modifiers.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ import androidx.compose.ui.draw.clip
2121
import androidx.compose.ui.draw.drawBehind
2222
import androidx.compose.ui.draw.drawWithContent
2323
import androidx.compose.ui.draw.shadow
24-
import androidx.compose.ui.geometry.CornerRadius
2524
import androidx.compose.ui.geometry.Offset
2625
import androidx.compose.ui.geometry.Size
2726
import androidx.compose.ui.graphics.Brush

0 commit comments

Comments
 (0)