Commit Graph

4 Commits (163f08b9908ed0f756ef7a5e28d68084efc3c848)

Author SHA1 Message Date
Richard de Boer 4473acdbde
messagelist: Fix app crashing when new message arrives
new Layout(...) calls Bangle.setUI(), causing uiRemove() to be called
whenever a new messages arrives, instead of only when the app exits.

This fixes that by unsetting Bangle.uiRemove before calling Layout, and
restoring it afterwards.
2023-08-19 13:48:17 +02:00
Gordon Williams f4740b149b messageslist: Fix invalid use of Bangle.setUI 2023-07-14 13:17:01 +01:00
Richard de Boer dc4c548271
messagelist: Fix messages/music updates while app is already open
(And probably some other issues)
When we call Bangle.setUI to draw a new message, Bangle.uiRemove from the
previous message screen would save messages to flash and unset "special"
messages (like `music`).
Solution: delete Bangle.uiRemove before calling Bangle.setUI.
2023-01-07 15:25:55 +01:00
Richard de Boer bc3ab8ef76
messagelist: new app 2022-12-14 20:45:27 +01:00