Skip to content

feat: spark connection and app status design - #1964

Merged
ovitrif merged 25 commits into
masterfrom
feat/spark-connection-status-v64
Nov 19, 2026
Merged

ovitrif merged 25 commits into
masterfrom
feat/spark-connection-status-v64

Conversation

@ovitrif

@ovitrif ovitrif commented Nov 17, 2026 •

Copy link
Copy Markdown
Collaborator

Twin: synonymdev/bitkit-ios#1360
Refs: #1840

Description

  • Lists Spark under OPEN CONNECTIONS, after the channels, as "Spark via Breez" with its spending amount and "no limit" receiving; the receiving header reads "no limit" whenever Spark is usable and the device is online, the empty state included.
  • Rebuilds the Spark connection screen to the v64 frame:
    • STATUS: "Connection open" in green, "Connecting..." in yellow or "Offline..." in red; while a force transfer runs, App Status's force transfer text in yellow.
    • PROVIDER: the operators (Lightspark, Breez and Flashnet), the address and the trust paragraph in the frame's copy.
    • BALANCE: receiving capacity ("no limit") and spending balance.
    • DEPOSITS: one group per deposit with the deposit tx (opens the explorer), the amount sent on-chain and the claim fee; a deposit not yet confirmed shows "Pending", then "n/3 confirmations".
    • Footer: "Transfer To Savings" and "Force Transfer To Savings", each with its icon; the force transfer button keeps today's condition (funds on Spark or a force transfer running).
  • App Status: the Spark row is "Lightning Provider (Spark)" and reads "Offline..." when it fails, and once Spark has read its state it still opens the detail, with the last known balance and payments listed in Lightning Connections and receiving off; a force transfer shows on that row ("Force transfer to savings in progress..." or "Fee funding needed", yellow warning icon) and opens its progress, replacing the separate exit row; a centred "Bitkit v ()" footer.
  • Spark's bar, on its connection screen and in the list, draws the dark spending track with the bright balance on its right half, as the frames.
  • App Status: "Lightning Node" reads "Synced" when the node is healthy, and the backup date reads " at " ("Jan 2, 2023 at 11:45" in US English), with the time in the device's 12- or 24-hour setting.
  • Transfer to Spending: the fee grid on Review and Review & Sign switches to fiat only while an exchange rate exists.
  • The menu's status counts Spark: an error while it is offline, pending while it connects or a force transfer runs.
  • Translates the new and changed strings into every shipped locale and drops the removed keys from each.

Out of Scope

  • A pending deposit drops out of the DEPOSITS list for a few seconds right before its claim: the Spark SDK stops listing it as unclaimed before it lists the claim.
  • On regtest, "Deposit tx" opens the staging explorer, which does not see Spark's regtest chain; mainnet and testnet are unaffected.
  • Spacing and type sizes follow the app's shared components (the connections header columns, the Spark row's amounts), not each frame.
  • Renewing pending Blocktank orders ("(3 days remaining)", "Renew") and the ToS checkmarks drawn only in the notes: not part of the v64 Spark changes.
  • Transfer to spending, transfer to savings, force transfer and the update spending balance modal: their own PRs.

Design

Figma page "Bitkit - Progress v64" in the Bitkit Wallet file:

Preview

Screen Figma App
Lightning Connections
Lightning Connections, empty
Lightning Connections, all
Spark connection
Spark connection, deposits
Spark connection, deposit pending
App Status
App Status, connecting
App Status, error
App Status, force transfer

Recordings at 2x

J1: Spark connection details J2: App Status Spark row
j1-spark-connection-details2x.mp4
j2-app-status-spark-row2x.mp4
J3: Spark emergency exit J4: App Status emergency exit
j3-7409.mp4
j4-app-status-emergency-exit2x.mp4

Figma notes

Every note above the v64 frames for these flows, with what this PR does about it.

Settings › Advanced

Support & App Status

Onboarding New User

  • Terms of Use & Privacy Policy: does not apply; the frame and the terms carry no Spark wording, and the checkmark notes are not drawn in the frame

QA Notes

Setup

  • Dev build (regtest) built with ESPLORA_URL=http://10.0.2.2:3995 (add --no-build-cache if a cached BuildConfig drops it), with python3 scripts/spark-regtest-esplora.py --port 3995 running on the emulator's host.
  • New wallet; Spark funded with on-chain deposits to the deposit address on the Spark connection screen (SparkDepositAddress); J4 also needs Savings funds to pay the force transfer fees.

Journeys

  • J1: added spark-connection-details.xml — Spark in the open connections, status, provider, balance, deposits and footer, the deposit tx link — passed on 9a4562742
  • J2: updated app-status-spark-row.xml — the "Lightning Provider (Spark)" row, its tap-through and the version footer — passed on 9a4562742
  • J3: updated spark-emergency-exit.xml — the "Force Transfer To Savings" entry and the force transfer start — passed on 7409d139f
  • J4: updated app-status-emergency-exit.xml — the force transfer on the Spark row and its tap-through to progress — passed on 5c5dd5b99

Automated Checks

  • updated HealthRepoTest.kt — Spark counted in the status, pending while a force transfer runs, ignored where unsupported
  • added SparkDetailScreenTest.kt — deposits (claimed, confirming, pending with no or unknown confirmations), the bar's "no limit"
  • added SparkDetailViewModelTest.kt — the status follows Spark's health, offline while unknown
  • updated SparkUiTest.kt — the deposit's on-chain amount before and after its claim, receiving only while online, connected and not exiting

Evidence

On a regtest emulator (Android 16, 896×1994 at 320 dpi) with the local Spark stack, dev build of 16be32ee9 (J1, J2 and the App Status states) 7409d139f (J3 and App Status) and 5c5dd5b99 (J4 and App Status, force transfer):

  • J1: the list showed a pending channel, an open channel and "Spark via Breez" with "no limit"; the Spark detail drew the balance on the right half of the bar; a deposit read "Pending" until mined, then showed its claim fee; Deposit tx opened the explorer at its txid.
  • J2: "Lightning Provider (Spark)" sat under Lightning Connection and read "Connected", with Lightning Node "Synced" and Lightning Connection "Using Spark"; the backup line read "Nov 18, 2026 at 05:39" in 24-hour time and "Nov 18, 2026 at 5:40 AM" in 12-hour time (at 7409d139f); the row opened the Spark connection.
  • App Status, connecting and offline: the Spark row read "Connecting..." in yellow while its operator was paused, and "Offline..." in red, with Lightning Connection "No open connections", while Spark was stopped.
  • App Status, force transfer: paid from savings, the Spark row read "Force transfer to savings in progress..." with the yellow warning icon.
  • J3: the quote read ₿ 196 608 to exit, ₿ 4 572 network fees and ₿ 8 180 fee funding, with "₿ 3 257 stays on Spark"; Fund from another wallet showed the QR and address; after going back, Transfer To Savings was still enabled.
  • J4: paid from savings, the Spark row read "Force transfer to savings in progress..." under Lightning Connection, with Lightning Node "Synced", and opened the v64 force transfer progress.

Gaps

  • "n/3 confirmations" was not reached on device: Spark's regtest chain lists a deposit only shortly before it claims it; SparkDetailScreenTest.kt covers it.
  • The menu status was checked only while a force transfer ran (pending) and with Spark ready, not with Spark offline.

Models used

  • Planning/scoping: Claude Opus 5.5 (reasoning: medium)
  • Implementation: Claude Opus 5.5 (reasoning: medium), Claude Sonnet 5.5 (reasoning: high)
  • Review: Claude Sonnet 5.5 (reasoning: high), Claude Opus 5.5 (reasoning: medium)

Verified: just format, compile, test, lint; journeys on a regtest emulator
Verified: just format, just compile, just test, just lint
@ovitrif ovitrif added this to the 3.2.0 milestone Nov 17, 2026
@ovitrif ovitrif self-assigned this Nov 17, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-17T22:32:07.767693Z 63cd701 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Verified: none (changelog text only)
@ovitrif
ovitrif requested review from a team, ben-kaufman and pwltr and removed request for a team November 17, 2026 22:31

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 63cd701fe5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread app/src/main/res/values/strings.xml Resolved
@greptile-apps

greptile-apps Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 4/5

[Medium impact] The changes affect Spark’s connection screens and the app-wide health status shown to wallet users.

The PR appears safe to merge, with a non-blocking display issue on Spark's detail page.

Findings

  1. P2 Empty Spark hides receiving capacity ▶

Summary

Updates Spark's connection details and App Status with receiving capacity, grouped deposits, force-transfer status, and an app-version footer.

  • Spark appears beside open channels with unlimited receiving.
  • Spark details show its connection, balance, and deposit history.
  • App Status shows Spark health and force-transfer progress together.

ovitrif explicitly leaves translations to #1961; accepts the brief SDK deposit-list gap and regtest explorer mismatch; follows shared spacing and text sizes rather than exact frames; and defers Blocktank renewal, ToS checkmarks, and the separate transfer flows.

Reviews (1) · Last reviewed commit: "fix: show an unconfirmed spark deposit a..." · Reviewed by Greptile

@github-actions

github-actions Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Regtest APK

Built from 3d9cf92 (run).

Download bitkit-dev-debug universal APK (expires in 30 days).

@talosmachina talosmachina left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No findings. Moves Spark into Open Connections with "no limit" receiving, rebuilds the Spark connection screen to the v64 frame, folds the force transfer into App Status's Spark row and counts Spark in the menu status. Reviewed 3540dde, full tier, static: an auto review never builds a bitkit-android branch here, so this is read from the code and from CI.

What I checked, and 6 candidates I ruled out

Read in full: the whole diff, plus HealthRepo.computeHealthState, SparkRepo.start / refresh (how deposits and hasStartFailed are built), SparkState.isUsable, SparkExitRecord.isActive, AppStatusViewModel.exitStep, LightningConnectionsViewModel (where spark and isSparkReceiving come from)
Call sites traced: SparkDepositRow (removed, no callers left), the removed string keys settings__status__exit__title, settings__status__exit__pending, lightning__spark_deposits_claimed / _pending (no references left in app/src), LightningChannel(receivingUnlimited)
CI: build-local and detect-changes green; build-and-test, lint, compose-ui and the e2e shards still pending when I reviewed

Ruled out

  • The menu turns red for an unsupported Spark: computeApp() maps spark through let, so a null Spark drops out of listOfNotNull; HealthRepoTest.kt pins it.
  • App Status's Spark row and the menu disagree on a running force transfer: both read record.isActive (HealthRepo through sparkExitRepo.state, the row through exitStep), so the row shows the exit exactly while the menu counts Spark as pending.
  • The detail screen reads "Offline..." on a device where Spark is unsupported: health.spark ?: ERROR only applies where Spark is null, and the detail route is reached only from the Spark row and the connections list, both of which exist only where Spark does.
  • The deposit amount overflows when re-adding the claim fee: grossSats adds through safe(), and an unclaimed deposit keeps its own amount, so the row reads the same on-chain value before and after the claim (SparkUiTest.kt).
  • "no limit" while Spark cannot receive: the list row, the bar and the BALANCE row all gate on isUsable (isReady && !isExiting), the same flag the header uses, so a connecting, offline or exiting Spark shows only its spending side.
  • Open Connections with Spark and no channels hides the empty state wrongly: isEmpty already required spark == null before this PR, so a Spark-only wallet showed the list then too; the change only moves where the row sits.

Merge confidence: 4/5. Unit tests, lint and the e2e shards had not finished when I reviewed, and the menu's red state with Spark offline is covered by HealthRepoTest.kt only, not seen on a device (the PR's Gaps say so).

Reviewer model: claude-opus-5-5
Reasoning effort: Unknown (the reviewing session's metadata does not record it)

Verified: just format, just compile, just test, just lint
@ovitrif

ovitrif commented Nov 17, 2026

Copy link
Copy Markdown
Collaborator Author

Pushed 54acd5a: once Spark had connected, going offline left its bar and "no limit" receiving on while the status read "Offline...". Receiving now needs the device online as well as a usable Spark, on Lightning Connections and the Spark connection screen; SparkUiTest.kt covers the offline case.

Verified: just compile, just lint
Verified: just format, just compile, just test, just lint
@ovitrif

ovitrif commented Nov 18, 2026

Copy link
Copy Markdown
Collaborator Author

Pushed 44d854e: Spark's bar draws the dark spending track with the bright balance on its right half, App Status reads "Synced" for a healthy node, and the backup date uses the locale's short form, all as the v64 frames. Fresh screenshots follow.

Verified: just format, just compile, just test, just lint
@ovitrif

ovitrif commented Nov 18, 2026

Copy link
Copy Markdown
Collaborator Author

Pushed 16be32e: the backup time follows the device's 12- or 24-hour setting, as on iOS.

Verified: just format, compile, test, lint
@ovitrif

ovitrif commented Nov 18, 2026

Copy link
Copy Markdown
Collaborator Author

Pushed 7409d13: App Status reads the backup date as <date> at <time>, as in App Status ("Jan 2, 2023 at 11:45"), with the time in the device's 12- or 24-hour setting; each locale has its own wording for "at".

The description's App Status still and the J3 and J4 recordings are now from this head.

@jvsena42 jvsena42 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code scan at 7409d13: no HIGH or MEDIUM. One LOW is inline.

What I checked:

  • Health. computeApp() now counts Spark where it's supported: offline or failed-to-start Spark turns the menu red, and connecting turns it yellow. An active exit maps to PENDING, from the same record.isActive that AppStatusViewModel.exitStep reads. Backups still feed computeApp. In recovery mode Spark stays PENDING.
  • Backup timestamp (DateTime.kt:80-91). It uses getBestDateTimePattern with is24HourFormat, an injectable zone and locale, and no relative times. All locales carry the {date}/{time} template.
  • Spark details. grossSats adds the claim fee back only for claimed deposits, using safe(). The txid is shortened, confirmations are capped at 3, and the force-transfer condition is unchanged.
  • Journeys and tags. The journeys' tags and strings exist at the head, nothing in bitkit-e2e-tests uses the removed ones, and the SparkDetailScreen.kt row in the screens map now names its frame.
  • Figma. "Connection details Spark" (52015:389976) and App Status error (51990:156590) match in sections, status pill, provider rows, balance with "no limit", the deposit groups, buttons and footer. The frame's "Spark Via Breeze" looks like a typo; the app keeps "Spark via Breez".

perf: not relevant. HealthRepo gains one flow input and no polling.

Device gate (partial): 7409d13 — not run yet; pending: settings/app-status-spark-row.xml, settings/spark-connection-details.xml, settings/app-status-emergency-exit.xml and transfer/spark-emergency-exit.xml on the Spark regtest stack, plus the Figma screens on the device. Device results and the final review type follow in a second review.

The status reads as App Status's Spark row while an exit runs, in yellow, instead of Connection open.

Verified: just format, compile, test, lint
@ovitrif
ovitrif requested a review from jvsena42 November 18, 2026 10:28
@jvsena42

Copy link
Copy Markdown
Member

Device gate (partial): f836776. Pixel_9 emulator (Android 17) on the local Spark stack (bitkit-docker spark profile). The wallet has 500k in Savings and two claimed Spark deposits, 200k and 80k (claim fee 135 each), and no channel.

  • settings/app-status-spark-row.xml: 5/5 pass. "Lightning Provider (Spark)" reads Connected under Lightning Connection ("Using Spark"), the version is centred at the bottom, and the row opens the Spark detail screen.
  • settings/spark-connection-details.xml: 9/9 pass.
    • Status: "Connection open" in green.
    • Provider: "Lightspark, Breez and Flashnet".
    • Balance: "no limit" receiving, ₿ 279 730 spending.
    • Deposits: both, with their tx, amount and claim fee.
    • Footer: Transfer To Savings enabled and Force Transfer To Savings with the yellow icon. A deposit tx opens the explorer.
    • Not reached: the "Pending" and "n/3 confirmations" deposit states. The local stack listed a deposit only once claimed, the same gap as in the author's evidence.
  • transfer/spark-emergency-exit.xml: 12/12 pass. It covers the explainer, then the quote: ₿ 274 432 to exit, ₿ 12 777 network fees, about ₿ 261 655 received, ₿ 5 298 staying on Spark. Then come the fund-the-fees choices and the external funding address with Continue disabled, and Back returns to the Spark screen. The nav title still reads "Emergency Exit", which this PR doesn't touch.

Still running: settings/app-status-emergency-exit.xml, the force-transfer status check on this screen, Figma comparisons on the device, and l10n in de and pt-BR.

@ovitrif
ovitrif requested a review from ben-kaufman November 19, 2026 14:03
A rate priced at zero or one that does not parse no longer counts, so
the fee grid stays in bitcoin. Fiat to sats fails on a zero or negative
rate and on a negative or out of range result instead of wrapping.

Verified: just format, compile, test, lint
@ovitrif

ovitrif commented Nov 19, 2026

Copy link
Copy Markdown
Collaborator Author

45ba38e: only a positive exchange rate counts as a rate. A rate priced at zero, or one whose price doesn't parse, kept the fee grid's tap switching to fiat, which then showed zeros. Fiat to sats now fails on a zero or negative rate and on a negative or out of range result, where it wrapped before. CurrencyRepoTest covers both. The same gap is fixed on iOS in synonymdev/bitkit-ios#1357.

The keypad remembers the unit its amount was typed in. Once another
screen, such as the fee grid, switches the unit, it redraws the amount
from sats, so the next key never reads fiat digits as bitcoin.

Verified: just format, compile, test, lint
@ovitrif

ovitrif commented Nov 19, 2026

Copy link
Copy Markdown
Collaborator Author

0a643ed: an amount typed in one unit is redrawn from its sats once another screen switches the unit, as the fee grid on Review does. Before, going back to the amount screen kept the fiat text, and the next key read those digits as bitcoin. AmountInputViewModelTest covers it. The same gap is fixed on iOS in synonymdev/bitkit-ios#1357.

pwltr
pwltr previously requested changes Nov 19, 2026

@pwltr pwltr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 0a643ed.

Medium: Rejecting a zero rate in CurrencyRepo.kt:198 hides bitcoin amounts that are drawn from a fiat conversion. With a zero or unparseable price for the selected currency, convert(sats) now returns nothing, and MoneyCaptionB (Money.kt:203, Spark's balance, deposits and fees), BalanceHeaderView.kt:110, WalletBalanceView.kt:79, ActivityRow.kt:277 and SendCoinSelectionScreen.kt:258 then show no amount, even in bitcoin. Formatting the bitcoin amount from sats there, as rememberMoneyText now does, keeps them shown.

The redraw after a unit switch elsewhere is right: every change to the typed text records its unit, and a key press or a unit change redraws from sats first.

Review details

General review
Model: Claude Opus 5.5
Reasoning effort: high

The rate lookup is back to master's, so a zero price no longer hides
bitcoin amounts drawn from a conversion; fiat-to-sats and the unit
switch still refuse it. The fee grid and the claim speed fees show
bitcoin while fiat is selected without a usable rate. Transfer To
Savings also needs the device online.

Verified: just format, compile, test, lint
The fees and max changed toasts fall back to bitcoin while fiat has no
usable rate, like the fee grid, so a change never reads as zero.

Verified: just format, compile, test, lint
@ovitrif
ovitrif requested a review from ben-kaufman November 19, 2026 15:39
pwltr
pwltr previously requested changes Nov 19, 2026

@pwltr pwltr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 4dccc2a.

Medium: The first keypad edit can zero a redrawn fiat transfer amount in Arabic. With Arabic-Indic digits, enter 20,000 sats, switch to fiat on Review with a valid rate, then go back and press Backspace. AmountInputViewModel.kt:153 copies localized fiat text into the keypad input, and AmountInputViewModel.kt:388 parses it as an ASCII decimal. The edit stores zero sats and disables Continue in SpendingAmountScreen.kt:293. Keep the keypad value in a parseable form when redrawing the localized amount.

Low: Opening regtest Spark Details from Offline App Status after an exit reconnect fails can leave the deposit address missing after Spark recovers. AppStatusScreen.kt:253 now permits entry from cached state, but SparkDetailViewModel.kt:71 requests the address only on entry. If the SDK is absent then, the copy row stays missing through reconnect and pull-to-refresh. Reopening Details restores it.

Low: The fiat guard in CurrencyRepo.kt:284 accepts any positive matching ticker, while CurrencyRepo.kt:195 converts using the first match. A zero-priced first USD ticker followed by a positive one can show a real fee or fee increase as $0.00. A first price that parses as infinity can leave fees blank. Check that the ticker conversion actually uses has a finite, positive price before enabling fiat in the fee grids, speed rows and change warnings.

Review details

Quick review
Model: Claude Opus 5.5
Reasoning effort: high

General review
Model: GPT-6.2 Sol
Reasoning effort: high

Combined review
Model: GPT-6.2 Sol
Reasoning effort: high

A redrawn amount gives the keypad ASCII digits, so an edit in Arabic no
longer reads it as zero. Fiat shows only while the ticker conversions
use, the first, has a finite positive price. Regtest Spark Details
loads the deposit address again once Spark connects.

Verified: just format, compile, test, lint
@ovitrif

ovitrif commented Nov 19, 2026

Copy link
Copy Markdown
Collaborator Author

Medium: The first keypad edit can zero a redrawn fiat transfer amount in Arabic.

Low: Opening regtest Spark Details from Offline App Status after an exit reconnect fails can leave the deposit address missing after Spark recovers.

Low: The fiat guard in CurrencyRepo.kt:284 accepts any positive matching ticker, while CurrencyRepo.kt:195 converts using the first match.

@pwltr Addressed in 5020b49. A redrawn amount hands the keypad ASCII digits, Details loads the address again once Spark connects, and fiat shows only while the first matching ticker has a finite positive price.

@ovitrif
ovitrif requested a review from pwltr November 19, 2026 16:22
pwltr
pwltr previously requested changes Nov 19, 2026

@pwltr pwltr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 5020b49. The keypad redraw, regtest deposit-address retry, and first-ticker fiat guard are fixed.

Medium: MoneyCaptionB requires a successful fiat conversion before it displays a Bitcoin amount (Money.kt:202). After Spark has read its state, the Offline row now opens Spark Details (AppStatusScreen.kt:253). If the selected currency has no cached quote, the Spending balance is blank (SparkDetailScreen.kt:145) even though Spark still has the last known sats. The same caption drops the spending amount in both bars (LightningChannel.kt:90, called from SparkDetailScreen.kt:116 and LightningConnectionsScreen.kt:443), the deposit amount and claim fee (SparkDetailScreen.kt:273, SparkDetailScreen.kt:277), the withdrawal amount and fee (LightningConnectionsScreen.kt:482, SparkDetailScreen.kt:175), and the known balance at an earlier exit address (SparkDetailScreen.kt:398). Format these Bitcoin captions directly from sats, as rememberMoneyText already does for Bitcoin.

Review details

Quick review
Model: Claude Opus 5.5
Reasoning effort: high

General review
Model: GPT-6.2 Sol
Reasoning effort: high

Combined review
Model: GPT-6.2 Sol
Reasoning effort: high

MoneyCaptionB formats bitcoin from sats, so Spark's balance, bars,
deposits, withdrawals, fees and earlier exit balances show while the
selected currency has no rate. Typography is lazy, so loading the app
text styles before the theme no longer leaves the button style unset.

Verified: just format, compile, test, lint
@ovitrif

ovitrif commented Nov 19, 2026

Copy link
Copy Markdown
Collaborator Author

Medium: MoneyCaptionB requires a successful fiat conversion before it displays a Bitcoin amount (Money.kt:202).

@pwltr Addressed in 3d9cf92. MoneyCaptionB formats bitcoin from sats, so every caption you listed shows without a rate. The same commit makes Typography lazy: loading the app text styles before the theme, as the new test does, left the button text style unset for the rest of the run.

@ovitrif
ovitrif requested a review from pwltr November 19, 2026 17:26

@pwltr pwltr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 3d9cf92. No open findings. Spark’s Bitcoin captions now format directly from sats, so the balance, deposit amounts, and fees stay visible when the selected currency has no rate. The theme’s button text style is initialized correctly even when the app text styles load first.

Review details

Quick review
Model: Claude Opus 5.5
Reasoning effort: high

General review
Model: GPT-6.2 Sol
Reasoning effort: high

Combined review
Model: GPT-6.2 Sol
Reasoning effort: high

@ovitrif

ovitrif commented Nov 19, 2026

Copy link
Copy Markdown
Collaborator Author

Merging: approved on 3d9cf92 with CI green and no open threads.

@ovitrif
ovitrif merged commit fd08ffa into master Nov 19, 2026
23 checks passed
@ovitrif
ovitrif deleted the feat/spark-connection-status-v64 branch November 19, 2026 18:08
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.

5 participants