Matthias Nott
2026-03-21 25119a9b148a291ba0af4f9f70801d12f2309147
refs
author Matthias Nott <mnott@mnsoft.org>
Saturday, March 21, 2026 21:04 +0100
committer Matthias Nott <mnott@mnsoft.org>
Saturday, March 21, 2026 21:04 +0100
commit25119a9b148a291ba0af4f9f70801d12f2309147
tree 5848f7a459d96d7368d74c79bcc3b5269e12a1ae tree | zip | gz
parent fa34201bc07e5312ff0c6825933cd02ce7900254 view | diff
fix: audio chain playback, empty bubbles, playback state reset

- Rewrote AudioService with proper queue-based chain playback
- Incoming voice chunks queue sequentially (no more interrupting)
- Play button resets to play icon when track finishes
- Tap playing bubble to stop (toggle works correctly)
- onPlaybackStateChanged callback for UI state sync
- Empty text bubbles filtered on load (leftover voice chunks)
- Images persist across restarts (imageBase64 kept in storage)
- Voice messages without audio show as text after restart
4 files modified
changed files
lib/models/message.dart diff | view | blame | history
lib/screens/chat_screen.dart diff | view | blame | history
lib/services/audio_service.dart diff | view | blame | history
lib/services/message_store.dart diff | view | blame | history