Fix/update check button - #7
Merged
Merged
Conversation
Extend parseGithubRelease with the release title, publication date, notes body and APK asset size, and add stripMarkdown/truncateText helpers to flatten release-note markdown to plain text — CRLF is normalized because a stray \r glues lines together in Android text views.
…n hint
The row's action was muted-gray text ('檢查') that read as disabled. Render
a pill button (primary background + refresh icon) that swaps to a spinner
with a localized 'checking…' label while the request is in flight, and
disable the row during the check.
Keep the new version number in the hint line — split the hint string into
prefix/suffix keys so the version itself renders rose-highlighted instead
of replacing the button label with it.
The system Alert cannot cap its height and GitHub release notes can get arbitrarily long. Replace it with an in-app modal (only ever opened by a manual check — the silent auto-check still just refreshes the row hint) showing the release date, APK size, title and notes in a scrollable card clamped to 80% of the screen, with cancel/update actions styled like the rest of the app.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.