Skip to content

Move instant-zap settings into the zap sheet (parity with dark-wisp #51) #612

Description

@dmnyc

Feature

Relocate instant-zap configuration out of Settings → Interface and into the zap sheet, where it's actually used — matching the layout used in dark-wisp.

Reference implementation: barrydeen/dark-wisp-android#51 (feat(zap): move instant-zap settings into the zap sheet).

Once the prerequisites below are merged, the port is small — three edits mirroring that PR:

  1. ZapDialog section 7 — when the Instant-zaps toggle is on, show the configured amount + message and a "configure in Presets" hint; tint the bolt accent when on.
  2. EditPresetsSheet — add an "Instant zaps" toggle plus a per-row radio to designate which preset is the instant amount; Done persists the enabled state + selected preset's amount/message; deleting the selected row reselects safely.
  3. InterfaceScreen — remove the instant-zap enable/amount/message block. Fiat mode's app-wide units toggle stays; the "Zaps" header is retained for the remaining Zap Icon toggle.

Default stays off. Long-press instant zap continues to fire the configured amount, unchanged.

Blocked on — required merges ahead of this

Wisp main currently has neither the hero-composer zap sheet nor the instant-zap foundation — that whole base lives in these open, stacked PRs. They must land first (in order):

Then

  • Port the referenced dark-wisp change onto the merged base (the three edits above)
  • Build + device-test, open PR

Related

  • iOS: a port spec is staged in wisp-ios (INSTANT_ZAP_IN_SHEET_SPEC.md); iOS is at the same intermediate state (in-sheet toggle exists, config still in settings).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions