diff --git a/ui/compose/src/main/kotlin/app/passwordstore/ui/APSAppBar.kt b/ui/compose/src/main/kotlin/app/passwordstore/ui/APSAppBar.kt index 4af1a80e2..b832ab0ff 100644 --- a/ui/compose/src/main/kotlin/app/passwordstore/ui/APSAppBar.kt +++ b/ui/compose/src/main/kotlin/app/passwordstore/ui/APSAppBar.kt @@ -38,7 +38,7 @@ public fun APSAppBar( title = { Text(text = title) }, navigationIcon = { if (navigationIcon != null) { - IconButton(onClick = { onNavigationIconClick.invoke() }) { + IconButton(onClick = onNavigationIconClick) { Icon(painter = navigationIcon, contentDescription = null) } }