aboutsummaryrefslogtreecommitdiff
path: root/ui/compose/src
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2024-05-28 15:18:47 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2024-05-28 15:18:47 +0530
commit936f933bfd68ad642cefe358d1f31bebddc761c8 (patch)
treeea557e14b70d93903f35d9766ce0a2a71853270d /ui/compose/src
parent6d7c20c46629ce5f0e1fe6f8502c3475698dd7e4 (diff)
chore: polish style
Diffstat (limited to 'ui/compose/src')
-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)
}
}