diff options
Diffstat (limited to 'app/src/main/java/xyz')
-rw-r--r-- | app/src/main/java/xyz/adjutor/aniki/presentation/view/fragment/TopAnimeFragment.kt | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/app/src/main/java/xyz/adjutor/aniki/presentation/view/fragment/TopAnimeFragment.kt b/app/src/main/java/xyz/adjutor/aniki/presentation/view/fragment/TopAnimeFragment.kt index 56f7a49..5dc64ff 100644 --- a/app/src/main/java/xyz/adjutor/aniki/presentation/view/fragment/TopAnimeFragment.kt +++ b/app/src/main/java/xyz/adjutor/aniki/presentation/view/fragment/TopAnimeFragment.kt @@ -6,7 +6,6 @@ import android.view.View import android.view.ViewGroup import android.widget.Button import androidx.fragment.app.Fragment -import androidx.navigation.fragment.findNavController import androidx.recyclerview.widget.LinearLayoutManager import androidx.recyclerview.widget.RecyclerView import androidx.swiperefreshlayout.widget.SwipeRefreshLayout @@ -38,10 +37,6 @@ class TopAnimeFragment : Fragment() { override fun onViewCreated(view: View, savedInstanceState: Bundle?) { super.onViewCreated(view, savedInstanceState) - //button to return to the home page - view.findViewById<Button>(R.id.button_home).setOnClickListener { - findNavController().navigate(R.id.action_TopAnimePage_to_HomePage) - } view.findViewById<Button>(R.id.button_prev).setOnClickListener { controller.onButtonPrevClick() } |