Package-level declarations

Types

Link copied to clipboard

Hook for host apps to round-trip arbitrary state through the Sigil cloud-backup pipeline. The seed payload is always included; this interface is the seam for everything else the app wants to preserve across uninstall / device hop (active matches, draft messages, contract-specific session data, etc.).

Link copied to clipboard
sealed interface BackupLaneState

Branded "Backup & recovery" section for the wallet pill (#243/#244).

Link copied to clipboard
data class BackupSectionState(val identity: BackupLaneState, val dust: BackupLaneState, val appData: BackupLaneState?)

appData null → the App data lane is omitted. The wallet panel always provides a value (an informational "None yet" empty state when nothing has been saved) so users discover the capability; null stays available for hosts that genuinely have no app-data concept.

Functions

Link copied to clipboard
fun BackupSection(state: BackupSectionState, colors: WalletPanelColors, modifier: Modifier = Modifier, onDustToggle: (Boolean) -> Unit = {}, onDisableBackup: () -> Unit = {}, onAppDataAction: () -> Unit = {})
Link copied to clipboard
fun RunnerDustProgress(progress: Float?, colors: WalletPanelColors, modifier: Modifier = Modifier)

Branded progress: the Rarámuri LottieRunner runs along a track, the DustTrail kicking up behind it. The runner's position is the progress