Skip to content

Commit

Permalink
feat(main-tv): always display new release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
stantanasi committed Nov 6, 2024
1 parent b89918f commit aeb8b7a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ class UpdateAppTvDialog(
)
}.joinToString("\n")

binding.btnUpdateReleaseNotes.setOnClickListener {
binding.tvUpdateReleaseNotes.isVisible = !binding.tvUpdateReleaseNotes.isVisible
}

binding.btnUpdateCancel.setOnClickListener {
hide()
}
Expand Down
19 changes: 1 addition & 18 deletions app/src/main/res/layout/dialog_update_app_tv.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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" />

<androidx.constraintlayout.widget.Barrier
android:id="@+id/barrier1"
Expand All @@ -140,21 +138,6 @@
app:layout_constraintTop_toBottomOf="@id/barrier1"
tools:visibility="visible" />

<Button
android:id="@+id/btn_update_release_notes"
style="?android:attr/buttonBarButtonStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginTop="16dp"
android:layout_marginBottom="16dp"
android:focusable="true"
android:focusableInTouchMode="true"
android:text="@string/update_release_notes"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/pb_update_is_loading" />

<Button
android:id="@+id/btn_update_cancel"
style="?android:attr/buttonBarButtonStyle"
Expand Down

0 comments on commit aeb8b7a

Please sign in to comment.