From 936f933bfd68ad642cefe358d1f31bebddc761c8 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Tue, 28 May 2024 15:18:47 +0530 Subject: chore: polish style --- ui/compose/src/main/kotlin/app/passwordstore/ui/APSAppBar.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/compose/src/main') 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) } } -- cgit v1.2.3