android: send recorded audio as voice and fix playback replay/duration
This commit is contained in:
@@ -455,3 +455,8 @@
|
||||
- Added tablet-aware max-width layout constraints across major screens (login, verify/reset auth, chats list, chat, profile, settings).
|
||||
- Kept phone layout unchanged while centering content and limiting line width on larger displays.
|
||||
- Fixed voice hold-to-send gesture reliability by removing pointer-input restarts during active recording, so release consistently triggers send path.
|
||||
|
||||
### Step 73 - Voice message send/playback bugfixes
|
||||
- Fixed voice media type mapping in message repository: recorded files with `voice_*.m4a` are now sent as message type `voice` (not generic `audio`).
|
||||
- Fixed audio replay behavior: when playback reaches the end, next play restarts from `0:00`.
|
||||
- Improved duration display in audio/voice player by adding metadata fallback when `MediaPlayer` duration is not immediately available.
|
||||
|
||||
Reference in New Issue
Block a user