summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ui/compose/src/main/kotlin/app/passwordstore/ui/APSAppBar.kt2
1 files changed, 1 insertions, 1 deletions
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 4af1a80e..b832ab0f 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)
}
}