diff --git a/shared/src/commonMain/kotlin/com/joelkanyi/focusbloom/feature/home/AllTasksScreen.kt b/shared/src/commonMain/kotlin/com/joelkanyi/focusbloom/feature/home/AllTasksScreen.kt index e1b9887..17144a9 100644 --- a/shared/src/commonMain/kotlin/com/joelkanyi/focusbloom/feature/home/AllTasksScreen.kt +++ b/shared/src/commonMain/kotlin/com/joelkanyi/focusbloom/feature/home/AllTasksScreen.kt @@ -40,9 +40,7 @@ import androidx.compose.ui.unit.dp import cafe.adriel.voyager.core.screen.Screen import cafe.adriel.voyager.navigator.LocalNavigator import cafe.adriel.voyager.navigator.currentOrThrow -import cafe.adriel.voyager.navigator.tab.LocalTabNavigator import com.joelkanyi.focusbloom.core.domain.model.Task -import com.joelkanyi.focusbloom.core.presentation.component.BloomTab import com.joelkanyi.focusbloom.core.presentation.component.BloomTopAppBar import com.joelkanyi.focusbloom.core.presentation.component.TaskCard import com.joelkanyi.focusbloom.feature.home.component.TaskOptionsBottomSheet @@ -70,7 +68,7 @@ class AllTasksScreen : Screen, KoinComponent { val selectedTask = screenModel.selectedTask.collectAsState().value val openBottomSheet = screenModel.openBottomSheet.collectAsState().value val bottomSheetState = rememberModalBottomSheetState() - val tabNavigator = LocalTabNavigator.current + // val tabNavigator = LocalTabNavigator.current if (openBottomSheet) { if (selectedTask != null) { @@ -93,7 +91,9 @@ class AllTasksScreen : Screen, KoinComponent { screenModel.markAsCompleted(it) }, onClickEditTask = { - tabNavigator.current = BloomTab.AddTaskTab(taskId = it.id) + /*tabNavigator.current = BloomTab.AddTaskTab( + taskId = it.id + )*/ }, task = selectedTask )