WalletBalanceUi

constructor(nightTotal: String, publicNight: String, privateNight: String?, statusLabel: String, dust: String?, dustRegistered: Boolean)

Parameters

nightTotal

hero figure — formatted total NIGHT.

publicNight

formatted unshielded (public) NIGHT.

privateNight

formatted shielded (private) NIGHT, or null when there's none.

statusLabel

short status under the hero, e.g. "Synced" / "Syncing…".

dust

formatted (abbreviated) dust, or null while first-loading.

dustRegistered

true → ✓ on the dust row (only once a sync has settled, so it never contradicts an in-flight "Syncing dust…"); false → a Register affordance.