From 862e8df7056e536c048f55242aee41972fb5e058 Mon Sep 17 00:00:00 2001 From: Toby Bridle Date: Sun, 11 Jun 2023 11:44:40 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20icon=20button=20padding?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/com/chouten/app/ui/views/info/InfoPage.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/com/chouten/app/ui/views/info/InfoPage.kt b/app/src/main/java/com/chouten/app/ui/views/info/InfoPage.kt index 42c89c5..23eb5f5 100644 --- a/app/src/main/java/com/chouten/app/ui/views/info/InfoPage.kt +++ b/app/src/main/java/com/chouten/app/ui/views/info/InfoPage.kt @@ -502,13 +502,12 @@ fun InfoPage( } ) - Box(modifier = Modifier.fillMaxSize(), contentAlignment = Alignment.TopEnd) { + Box(modifier = Modifier.fillMaxSize().padding(top = systemBarsPadding.calculateTopPadding() * 2, end = 16.dp), contentAlignment = Alignment.TopEnd) { IconButton( onClick = { navController.popBackStack() }, modifier = Modifier - .padding(top = systemBarsPadding.calculateTopPadding() * 2, end = 16.dp) .clip( CircleShape )