Skip to content

Commit

Permalink
Fix detekt
Browse files Browse the repository at this point in the history
  • Loading branch information
erikeelde committed Sep 21, 2024
1 parent 69f07ef commit 0083b48
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ import androidx.hilt.navigation.compose.hiltViewModel
import androidx.lifecycle.compose.collectAsStateWithLifecycle
import kotlinx.coroutines.launch
import se.eelde.toggles.routes.BooleanConfiguration
import se.eelde.toggles.routes.StringConfiguration

@SuppressLint("ComposeViewModelInjection")
@Composable
Expand Down Expand Up @@ -84,9 +83,11 @@ fun BooleanValueView(
},
) { paddingValues ->
val scope = rememberCoroutineScope()
Surface(modifier = modifier
.padding(paddingValues)
.padding(16.dp)) {
Surface(
modifier = modifier
.padding(paddingValues)
.padding(16.dp)
) {
Column {
Text(
modifier = Modifier.padding(8.dp),
Expand Down Expand Up @@ -126,4 +127,3 @@ fun BooleanValueView(
}
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import se.eelde.toggles.database.WrenchScope
import se.eelde.toggles.database.dao.application.TogglesApplicationDao
import se.eelde.toggles.database.dao.application.TogglesConfigurationDao
import se.eelde.toggles.database.dao.application.TogglesScopeDao
import javax.inject.Inject

internal data class ViewState(
val application: WrenchApplication? = null,
Expand Down

0 comments on commit 0083b48

Please sign in to comment.