Skip to content

Conversation

@Avinash99b
Copy link

Fixes #14424

First time contributor checklist

Contributor checklist

  • Device A, Android 16 - Oneplus nord 5
  • Device B, Android 13 - Moto G32
  • [ x ] My contribution is fully baked and ready to be merged as is
  • [ x ] I ensure that all the open issues my contribution fixes are mentioned in the commit message of my first commit using the Fixes #1234 syntax

Description

This PR adds a dismiss action to the outdated build banner, allowing users to temporarily hide the banner during the current app session.

Previously, the banner could only be resolved by updating the app, which meant it would remain visible even when users were already aware of the warning or unable to update immediately. This change introduces a lightweight dismissal mechanism using local Compose state, without altering any existing expiry logic or update behavior.

The banner will reappear on the next app restart if the build is still outdated, ensuring that users continue to receive the reminder while avoiding unnecessary friction within a single session.

Testing

  • Verified that the outdated build banner is shown as before when the build is nearing expiry.
  • Confirmed that tapping Dismiss hides the banner immediately.
  • Confirmed that tapping Update still opens the Play Store or APK download page.
  • Verified that the banner reappears after app restart when the build is still outdated.

This change addresses the UX concern described in #14424 while keeping the warning behavior intact.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"Update to the most recent version" popup takes up the whole screen

2 participants