diff options
author | Clyhtsuriva <aimeric@adjutor.xyz> | 2021-02-22 20:00:36 +0100 |
---|---|---|
committer | Clyhtsuriva <aimeric@adjutor.xyz> | 2021-02-22 20:00:36 +0100 |
commit | 494455de615340599cf2cdba0f3f199a47bf5a66 (patch) | |
tree | ae8521428bdde7750294d25c8e49a93df9e95f26 /app/src/main/java/xyz/adjutor/aniki/topanime | |
parent | e79bf68553676c9be09f4616aadcd522149c506e (diff) |
Removing background because most dont seem to have one.feature/elements_detail
Diffstat (limited to 'app/src/main/java/xyz/adjutor/aniki/topanime')
-rw-r--r-- | app/src/main/java/xyz/adjutor/aniki/topanime/DetailTopAnimeActivity.kt | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/app/src/main/java/xyz/adjutor/aniki/topanime/DetailTopAnimeActivity.kt b/app/src/main/java/xyz/adjutor/aniki/topanime/DetailTopAnimeActivity.kt index 383c73e..3f1d008 100644 --- a/app/src/main/java/xyz/adjutor/aniki/topanime/DetailTopAnimeActivity.kt +++ b/app/src/main/java/xyz/adjutor/aniki/topanime/DetailTopAnimeActivity.kt @@ -149,16 +149,9 @@ class DetailTopAnimeActivity : AppCompatActivity() { private fun showDetail(anime: RestAnimeResponse) { //elements from RestAnimeResponse val tvSynopsis: TextView = findViewById(R.id.tv_synopsis) - val tvBackground: TextView = findViewById(R.id.tv_background) tvSynopsis.text = anime.synopsis.toString() - tvBackground.text = if (anime.background != null){ - anime.background.toString() - } else { - fieldIsNull() - } - } fun showError(text: String) { |