Make "Always" confirmation behavior setting work by handling it for ongoing sync patches

- Add "Always" option to confirmationBehavior setting
- Route WebSocket patches through the confirmation callback
- Fix UI not transitioning back to Connected after confirming ongoing patches
- Fix DomLabel Flipper motor cleanup on unmount to prevent errors
This commit is contained in:
warsam 2026-01-23 19:39:29 -08:00 • committed by Joe
parent a7f36fab5e
commit a05acf8d35
7 changed files with 638 additions and 90 deletions

View file

@ -113,6 +113,8 @@ end
function DomLabel:willUnmount()
self.isMounted = false
-- Stop the motor to prevent onStep callbacks after unmount
self.motor:stop()
if self.motorStepConnection then
self.motorStepConnection:disconnect()
self.motorStepConnection = nil