diff --git a/android/app/src/main/java/com/happy/friendogly/presentation/ui/petdetail/PetDetailViewModel.kt b/android/app/src/main/java/com/happy/friendogly/presentation/ui/petdetail/PetDetailViewModel.kt index c97940f59..197933c5a 100644 --- a/android/app/src/main/java/com/happy/friendogly/presentation/ui/petdetail/PetDetailViewModel.kt +++ b/android/app/src/main/java/com/happy/friendogly/presentation/ui/petdetail/PetDetailViewModel.kt @@ -1,5 +1,6 @@ package com.happy.friendogly.presentation.ui.petdetail +import android.util.Log import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.SavedStateHandle @@ -50,6 +51,7 @@ class PetDetailViewModel( } fun navigateToBack() { + Log.d("ttt", "hihi") _navigateAction.emit(PetProfileNavigationAction.NavigateToBack) } diff --git a/android/app/src/main/res/layout/activity_pet_detail.xml b/android/app/src/main/res/layout/activity_pet_detail.xml index ea9612645..4fb0275ad 100644 --- a/android/app/src/main/res/layout/activity_pet_detail.xml +++ b/android/app/src/main/res/layout/activity_pet_detail.xml @@ -17,26 +17,6 @@ android:layout_width="match_parent" android:layout_height="match_parent"> - - - - - + + + + + + diff --git a/android/app/src/main/res/layout/item_pet_detail.xml b/android/app/src/main/res/layout/item_pet_detail.xml index c09caaddc..e5fbd04de 100644 --- a/android/app/src/main/res/layout/item_pet_detail.xml +++ b/android/app/src/main/res/layout/item_pet_detail.xml @@ -19,10 +19,10 @@