Skip to content

Commit b1a7b83

Browse files
committed
chore: lint
1 parent 80b42af commit b1a7b83

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 & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ import androidx.navigation.compose.composable
3636
import androidx.navigation.compose.currentBackStackEntryAsState
3737
import androidx.navigation.compose.rememberNavController
3838
import androidx.navigation.toRoute
39-
import dev.chrisbanes.haze.rememberHazeState
4039
import kotlinx.coroutines.delay
4140
import kotlinx.coroutines.launch
4241
import kotlinx.serialization.Serializable
@@ -351,7 +350,6 @@ fun ContentView(
351350
val hasSeenShopIntro by settingsViewModel.hasSeenShopIntro.collectAsStateWithLifecycle()
352351

353352
val currentSheet by appViewModel.currentSheet.collectAsStateWithLifecycle()
354-
val hazeState = rememberHazeState()
355353

356354
Box(
357355
modifier = modifier.fillMaxSize()

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/components/ToastView.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,9 +293,9 @@ private fun ToastHost(
293293
@Composable
294294
fun ToastOverlay(
295295
toast: Toast?,
296+
onDismiss: () -> Unit,
296297
modifier: Modifier = Modifier,
297298
hazeState: HazeState = rememberHazeState(blurEnabled = true),
298-
onDismiss: () -> Unit,
299299
onDragStart: () -> Unit = {},
300300
onDragEnd: () -> Unit = {},
301301
) {
@@ -320,7 +320,6 @@ private fun ToastViewPreview() {
320320
ScreenColumn(
321321
verticalArrangement = Arrangement.spacedBy(16.dp),
322322
) {
323-
324323
ToastView(
325324
toast = Toast(
326325
type = Toast.ToastType.WARNING,

app/src/main/java/to/bitkit/viewmodels/AppViewModel.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,9 @@ import to.bitkit.repositories.WalletRepo
9797
import to.bitkit.services.AppUpdaterService
9898
import to.bitkit.ui.Routes
9999
import to.bitkit.ui.components.Sheet
100-
import to.bitkit.ui.shared.toast.ToastQueueManager
101100
import to.bitkit.ui.components.TimedSheetType
102101
import to.bitkit.ui.shared.toast.ToastEventBus
102+
import to.bitkit.ui.shared.toast.ToastQueueManager
103103
import to.bitkit.ui.sheets.SendRoute
104104
import to.bitkit.ui.theme.TRANSITION_SCREEN_MS
105105
import to.bitkit.utils.Logger

0 commit comments

Comments
 (0)