Skip to content

Fix/update check button - #7

Merged
ghostcoder42 merged 3 commits into
mainfrom
fix/update-check-button
Sep 4, 2026
Merged

ghostcoder42 merged 3 commits into
mainfrom
fix/update-check-button

Conversation

@ghostcoder42

Copy link
Copy Markdown
Owner

No description provided.

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.
@ghostcoder42
ghostcoder42 merged commit a5df29d into main Sep 4, 2026
1 check passed
@ghostcoder42
ghostcoder42 deleted the fix/update-check-button branch September 4, 2026 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant