aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorClyhtsuriva <aimeric@adjutor.xyz>2021-05-31 15:23:17 +0200
committerClyhtsuriva <aimeric@adjutor.xyz>2021-05-31 15:23:17 +0200
commitfde5f0e26a394310f8b6b7a122c9240fa2883de3 (patch)
tree721049b1a9aed8a26b3fdce34b19100fced72786 /app/src/main/java
parentfc2156374611421c242ff7d65315f52fe57ceecf (diff)
Changed the the prev and next button for top anime
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/presentation/view/fragment/TopAnimeFragment.kt5
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()
}