From aeb8b7a17d5900bd83b8d58291532ab21ffdffcb Mon Sep 17 00:00:00 2001 From: Lory-Stan TANASI Date: Wed, 6 Nov 2024 22:43:14 +0100 Subject: [PATCH] feat(main-tv): always display new release notes --- .../tanasi/streamflix/ui/UpdateAppTvDialog.kt | 4 ---- .../main/res/layout/dialog_update_app_tv.xml | 19 +------------------ 2 files changed, 1 insertion(+), 22 deletions(-) diff --git a/app/src/main/java/com/tanasi/streamflix/ui/UpdateAppTvDialog.kt b/app/src/main/java/com/tanasi/streamflix/ui/UpdateAppTvDialog.kt index 38274411..1609e5dc 100644 --- a/app/src/main/java/com/tanasi/streamflix/ui/UpdateAppTvDialog.kt +++ b/app/src/main/java/com/tanasi/streamflix/ui/UpdateAppTvDialog.kt @@ -40,10 +40,6 @@ class UpdateAppTvDialog( ) }.joinToString("\n") - binding.btnUpdateReleaseNotes.setOnClickListener { - binding.tvUpdateReleaseNotes.isVisible = !binding.tvUpdateReleaseNotes.isVisible - } - binding.btnUpdateCancel.setOnClickListener { hide() } diff --git a/app/src/main/res/layout/dialog_update_app_tv.xml b/app/src/main/res/layout/dialog_update_app_tv.xml index 00b78033..cd2b60af 100644 --- a/app/src/main/res/layout/dialog_update_app_tv.xml +++ b/app/src/main/res/layout/dialog_update_app_tv.xml @@ -111,12 +111,10 @@ android:layout_marginEnd="16dp" android:gravity="center" android:textSize="12sp" - android:visibility="gone" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toEndOf="@id/iv_update_arrow" app:layout_constraintTop_toBottomOf="@id/tv_update_new_version" - tools:text="- Bug fixes" - tools:visibility="visible" /> + tools:text="- Bug fixes" /> -