From 38fc742c05935172cc8d9d7d73736895f2a5d79a Mon Sep 17 00:00:00 2001 From: jinukeu Date: Tue, 16 Jan 2024 11:30:39 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=8B=9C=EC=8A=A4=ED=85=9C=20=EB=92=A4?= =?UTF-8?q?=EB=A1=9C=EA=B0=80=EA=B8=B0=20=ED=81=B4=EB=A6=AD=20=EC=8B=9C=20?= =?UTF-8?q?=EC=9E=A5=EB=B6=80=20=EC=97=85=EB=8D=B0=EC=9D=B4=ED=8A=B8?= =?UTF-8?q?=EA=B0=80=20=EB=90=98=EC=A7=80=20=EC=95=8A=EB=8A=94=20=EB=AC=B8?= =?UTF-8?q?=EC=A0=9C=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../susu/feature/received/ledgerdetail/LedgerDetailScreen.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/feature/received/src/main/java/com/susu/feature/received/ledgerdetail/LedgerDetailScreen.kt b/feature/received/src/main/java/com/susu/feature/received/ledgerdetail/LedgerDetailScreen.kt index 9c857ad2..b9b386f9 100644 --- a/feature/received/src/main/java/com/susu/feature/received/ledgerdetail/LedgerDetailScreen.kt +++ b/feature/received/src/main/java/com/susu/feature/received/ledgerdetail/LedgerDetailScreen.kt @@ -1,5 +1,6 @@ package com.susu.feature.received.ledgerdetail +import androidx.activity.compose.BackHandler import androidx.compose.foundation.background import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box @@ -90,6 +91,8 @@ fun LedgerDetailRoute( viewModel.initData(ledger) } + BackHandler(onBack = viewModel::popBackStackWithLedger) + LedgerDetailScreen( uiState = uiState, onClickEdit = viewModel::navigateLedgerEdit,