What happened?
After tapping Later on the QuickPay intro, the next sheet (here an incoming subscription proposal) opens and closes at once, so the proposal is never seen.
The QuickPay sheet's dismiss handler in MainNavView runs after its dismiss animation and calls hideSheet(), which clears whichever sheet is active by then.
Expected behavior
A sheet that opens right after the QuickPay intro is dismissed stays open. A sheet's dismiss handler closes only its own sheet.
Steps to Reproduce
- Have spending balance so the QuickPay intro shows.
- Tap Later on the QuickPay intro.
- An incoming subscription proposal presents about 0.3 s later.
- The subscription sheet closes at once.
Logs / Screenshots / Recordings
09:45:40.300 Hiding sheet quickpay reason: QuickpaySheet.swift:41 onLater()
09:45:40.634 Showing sheet subscription
09:45:40.879 Hiding sheet subscription reason: MainNavView.swift:276 body
Reproduced on master with a debug trigger that opens the subscription sheet 0.3 s after Later: it closes 0.24 s after it opens. Android is not affected: SheetHost fires its dismiss callback only while the dismissed sheet is still showing (synonymdev/bitkit-android#1186).
Bitkit Version
master at 3ac017b (2.5.0)
Device / OS
iPhone 17 simulator, iOS 26.5
Reproducibility
Always
What happened?
After tapping Later on the QuickPay intro, the next sheet (here an incoming subscription proposal) opens and closes at once, so the proposal is never seen.
The QuickPay sheet's dismiss handler in
MainNavViewruns after its dismiss animation and callshideSheet(), which clears whichever sheet is active by then.Expected behavior
A sheet that opens right after the QuickPay intro is dismissed stays open. A sheet's dismiss handler closes only its own sheet.
Steps to Reproduce
Logs / Screenshots / Recordings
Reproduced on master with a debug trigger that opens the subscription sheet 0.3 s after Later: it closes 0.24 s after it opens. Android is not affected:
SheetHostfires its dismiss callback only while the dismissed sheet is still showing (synonymdev/bitkit-android#1186).Bitkit Version
master at 3ac017b (2.5.0)
Device / OS
iPhone 17 simulator, iOS 26.5
Reproducibility
Always