Commit Graph

6089 Commits

Author SHA1 Message Date
Onuray Sahin bd2ed4c58a Stop playback when deleting record on locked mode. 2021-07-23 16:53:34 +03:00
Onuray Sahin a11941714d Code review fixes. 2021-07-23 15:19:50 +03:00
Benoit Marty 6caa2b9ae0 Fix issue with RTL
Still a pb when Mic is on, margins are not correct
2021-07-16 17:12:08 +02:00
Benoit Marty 30bb91892d Fix issue about move overflow.
Now use limit for distances
2021-07-16 16:04:50 +02:00
Benoit Marty 6da4f1d84f Add comment 2021-07-16 11:19:06 +02:00
Benoit Marty 13ae0ba5f1 Convert voice message to be able to play on Android 28 and below 2021-07-16 11:00:25 +02:00
Benoit Marty 343ea42ef5 Fix issue on Android 21 2021-07-15 17:30:48 +02:00
Benoit Marty bfc70be5bb Record voice on Android 21 2021-07-15 17:23:46 +02:00
Benoit Marty 6f947e979b Split to sub fun 2021-07-15 15:14:26 +02:00
Benoit Marty bb742eb483 Handle record/play error 2021-07-15 15:06:38 +02:00
Benoit Marty 6ab9b462a3 Fix mic button color 2021-07-15 13:42:40 +02:00
Benoit Marty 276808c8e9 Fix issue in RTL 2021-07-13 20:09:23 +02:00
Benoit Marty 0cf10b2f84 Fix issue with waveform rendering 2021-07-13 18:48:59 +02:00
Benoit Marty c938a30dd9 Change filename.
Later we will use the room id to save the draft.
2021-07-13 18:12:55 +02:00
Benoit Marty 95bb796bad Fix color 2021-07-13 17:19:11 +02:00
Benoit Marty 013174d3dc License file 2021-07-13 16:24:03 +02:00
Benoit Marty f40e6b56fe Fix other color issue 2021-07-13 16:21:38 +02:00
Benoit Marty 9e0f3a1517 Fix other color issue 2021-07-13 16:17:22 +02:00
Benoit Marty cf4e603f09 Fix background color of voice message recorder 2021-07-13 16:14:02 +02:00
Benoit Marty 14dbbee1e3 Fix background color of voice message item 2021-07-13 16:10:51 +02:00
Benoit Marty 4c5be39f46 Fix background color of Play/Pause button 2021-07-13 16:08:54 +02:00
Benoit Marty a52d5f6d12 Renaming 2021-07-13 15:57:35 +02:00
Benoit Marty 6283846108 Cleanup 2021-07-13 15:54:09 +02:00
Benoit Marty bff2c6ea93 Better handling of Paused/Play state 2021-07-13 15:47:52 +02:00
Benoit Marty 7937c9945b Untrack 2021-07-13 15:26:06 +02:00
Benoit Marty bf14fa90a2 Fix rendering issue of time when playing in the timeline - still buggy
And fix timer not cancelled properly when at the end of the playback
2021-07-13 15:15:07 +02:00
Benoit Marty fa7c1a763f Render the wave form more often 2021-07-13 14:29:05 +02:00
Benoit Marty cae927b863 Use CountUpTimer 2021-07-13 14:18:57 +02:00
Benoit Marty 78e9a4ffe7 Use CountUpTimer 2021-07-13 14:13:35 +02:00
Benoit Marty c69bc12637 Be more precise if the timer is paused and resume. 2021-07-13 14:13:35 +02:00
Benoit Marty 83bf48dfff Fix denied permission issue
And remove dead code
2021-07-13 11:02:22 +02:00
Benoit Marty 9df874c975 Merge branch 'develop' into feature/ons/voice_message 2021-07-13 10:36:05 +02:00
Benoit Marty c08bd664ab
Merge pull request #3667 from vector-im/feature/bma/permission
Permission rework
2021-07-13 10:33:40 +02:00
Benoit Marty 34723ce4f7 Cleanup 2021-07-13 10:27:29 +02:00
Benoit Marty 76ab34f1a6 Cleanup 2021-07-13 00:41:26 +02:00
Benoit Marty 59e3b421bb Cleanup 2021-07-13 00:33:29 +02:00
Benoit Marty cc042f2d7a Fail fast 2021-07-13 00:31:05 +02:00
Benoit Marty 067349f602 Fix some misunderstanding about the permissions request - step 2 2021-07-13 00:22:23 +02:00
Benoit Marty 80657251a5 Fix some misunderstanding about the permissions request - step 1 2021-07-12 23:47:33 +02:00
Benoit Marty fabbd6da9e Add action to see permission status in the DebugActivity 2021-07-12 22:12:51 +02:00
Benoit Marty cca9a8007c Use new permission request management
I do not know why all has not been migrated in the previous rework
2021-07-12 21:18:01 +02:00
SpiritCroc 9aa37dfbe9 Fix top row of emoji reaction picker on small displays
Emojis were not showing if not enough space, so allow scrolling there.
2021-07-12 17:56:58 +02:00
Benoit Marty 8b852a2ab2 Fix glitch when opening a room invite
Composer and mic was shown for a few milliseconds
Also hide the mic if the uer cannot send event, or if the room has been tombstoned.
2021-07-12 13:55:44 +02:00
Benoit Marty e49290b8ac Fix mic visible for invite room mode.
We can still view the mic when the screen is resumed, to be improved.
2021-07-12 13:40:59 +02:00
SpiritCroc e61fc1a935 Fix unread messages marker being hidden in collapsed membership item
Scenario: the last read event in a chat is a membership change. After
that, at least two new membership changes were added, followed by normal
messages. Due to the membership changes being collapsed by default, in
this scenario the read marker would not show, since in the loop, we
would overwrite the appendReadMarker with the value for the last eventId
of the merged item, instead of showing it if any of the items matched.
2021-07-10 11:01:36 +02:00
Benoit Marty c5b8755bab Trick for a better alignment of voice message in the timeline. 2021-07-09 23:16:43 +02:00
Benoit Marty 0382ae8273 Swipe to reply on voice message 2021-07-09 22:35:44 +02:00
Benoit Marty e391a1371c Merge branch 'develop' into feature/ons/voice_message 2021-07-09 22:19:50 +02:00
Benoit Marty 963eb9daf4 Fix missing duration in audio event, and move `AudioWaveformInfo` to the proper package 2021-07-09 22:06:09 +02:00
Benoit Marty 79f4053ab4 Use DimensionConverter 2021-07-09 21:33:54 +02:00