Skip to content

Commit

Permalink
Fix detekt issue
Browse files Browse the repository at this point in the history
  • Loading branch information
JGerdes committed Jul 5, 2024
1 parent e89878b commit b0073b7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ import de.berlindroid.zeapp.zeui.zetheme.ZeWhite
@Preview
internal fun ZeDrawerContent(
drawerState: DrawerState = DrawerState(DrawerValue.Open),
viewModel: ZeDrawerViewModel = hiltViewModel(),
onSaveAllClick: () -> Unit = {},
onGetStoredPages: () -> Unit = {},
onGotoReleaseClick: () -> Unit = {},
Expand All @@ -48,6 +47,7 @@ internal fun ZeDrawerContent(
onTitleClick: () -> Unit = {},
newReleaseVersion: Int? = null,
) {
val viewModel: ZeDrawerViewModel = hiltViewModel()
val uiState by viewModel.uiState.collectAsState()

@Composable
Expand Down

0 comments on commit b0073b7

Please sign in to comment.