aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/xyz/adjutor/aniki/ArticlePage.kt
diff options
context:
space:
mode:
authorClyhtsuriva <aimeric@adjutor.xyz>2021-02-17 22:18:26 +0100
committerClyhtsuriva <aimeric@adjutor.xyz>2021-02-17 22:18:26 +0100
commit7e0e688d4bc59bddfd5e9e69b0da57607c1e56ed (patch)
tree73968a65054b77fcbde6019f41baad59888bba3a /app/src/main/java/xyz/adjutor/aniki/ArticlePage.kt
parentd49771c90315897e0fe6eb8d4034e36853bf6650 (diff)
Renaming to avoid issues with the "home" id.
Diffstat (limited to 'app/src/main/java/xyz/adjutor/aniki/ArticlePage.kt')
-rw-r--r--app/src/main/java/xyz/adjutor/aniki/ArticlePage.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/xyz/adjutor/aniki/ArticlePage.kt b/app/src/main/java/xyz/adjutor/aniki/ArticlePage.kt
index 68af902..4579c69 100644
--- a/app/src/main/java/xyz/adjutor/aniki/ArticlePage.kt
+++ b/app/src/main/java/xyz/adjutor/aniki/ArticlePage.kt
@@ -24,7 +24,7 @@ class ArticlePage : Fragment() {
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
super.onViewCreated(view, savedInstanceState)
- view.findViewById<Button>(R.id.home).setOnClickListener {
+ view.findViewById<Button>(R.id.button_home).setOnClickListener {
findNavController().navigate(R.id.action_ArticlePage_to_HomePage)
}
}