From 637c3e03b4c950b1408fefae762d9bfdfe4dd1f0 Mon Sep 17 00:00:00 2001 From: ruh0n Date: Tue, 3 Dec 2024 16:48:13 +0900 Subject: [PATCH] =?UTF-8?q?style:=20=EC=9E=98=EB=AA=BB=EB=90=9C=20indent?= =?UTF-8?q?=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../navigation/DreamDiaryNavHost.kt | 58 +++++++++---------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/app/src/main/java/com/boostcamp/dreamteam/dreamdiary/navigation/DreamDiaryNavHost.kt b/app/src/main/java/com/boostcamp/dreamteam/dreamdiary/navigation/DreamDiaryNavHost.kt index 458eb5bb..b1138308 100644 --- a/app/src/main/java/com/boostcamp/dreamteam/dreamdiary/navigation/DreamDiaryNavHost.kt +++ b/app/src/main/java/com/boostcamp/dreamteam/dreamdiary/navigation/DreamDiaryNavHost.kt @@ -57,35 +57,35 @@ fun DreamDiaryNavHost( }, ) - diaryGraph( - onShareDiary = { navController.navigateToCommunityWrite(it) }, - onCommunityClick = { - val options = NavOptions.Builder() - .setPopUpTo(DiaryGraph, inclusive = false, saveState = true) - .setLaunchSingleTop(true) - .setRestoreState(true) - .build() - navController.navigate(CommunityGraph, options) - }, - onSettingClick = { - val options = NavOptions.Builder() - .setPopUpTo(DiaryGraph, inclusive = false, saveState = true) - .setLaunchSingleTop(true) - .setRestoreState(true) - .build() - navController.navigate(SettingGraph, options) - }, - navController = navController, - onDialogConfirmClick = { - val options = NavOptions.Builder() - .setPopUpTo(DiaryGraph, inclusive = true) - .build() - navController.navigate(SignInRoute, options) - }, - updateDiaryWidget = { context -> - diaryWidgetManger.update(context) - }, - ) + diaryGraph( + onShareDiary = { navController.navigateToCommunityWrite(it) }, + onCommunityClick = { + val options = NavOptions.Builder() + .setPopUpTo(DiaryGraph, inclusive = false, saveState = true) + .setLaunchSingleTop(true) + .setRestoreState(true) + .build() + navController.navigate(CommunityGraph, options) + }, + onSettingClick = { + val options = NavOptions.Builder() + .setPopUpTo(DiaryGraph, inclusive = false, saveState = true) + .setLaunchSingleTop(true) + .setRestoreState(true) + .build() + navController.navigate(SettingGraph, options) + }, + navController = navController, + onDialogConfirmClick = { + val options = NavOptions.Builder() + .setPopUpTo(DiaryGraph, inclusive = true) + .build() + navController.navigate(SignInRoute, options) + }, + updateDiaryWidget = { context -> + diaryWidgetManger.update(context) + }, + ) communityGraph( navController = navController,