Fixes for CFv2.

- Status bar color being incorrect when entering a screen that changes it and then returning (e.g., Message Details)
- Fix crash in enter sends mode
- Fix warning about non-closed cursor
- Prevent message abandonment (via trim thread) when it's the first in an inactive thread
- Fix payment attachment button flashing on attachment keyboard open if payments disabled
- Fix reactionDelegate crash
- Fix attachment preview (file, mp3, location, etc) not getting cleared on send
This commit is contained in:
Cody Henthorne
2023-07-20 13:50:32 -04:00
committed by GitHub
parent 744f74b498
commit ec25831a37
21 changed files with 128 additions and 56 deletions

View File

@@ -77,7 +77,11 @@ class MediaGalleryFragment : Fragment(R.layout.v2_media_gallery_fragment) {
onBack()
}
Material3OnScrollHelper(requireActivity(), listOf(binding.mediaGalleryToolbar, binding.mediaGalleryStatusBarBackground)).attach(binding.mediaGalleryGrid)
Material3OnScrollHelper(
activity = requireActivity(),
views = listOf(binding.mediaGalleryToolbar, binding.mediaGalleryStatusBarBackground),
lifecycleOwner = viewLifecycleOwner
).attach(binding.mediaGalleryGrid)
if (callbacks.isCameraEnabled()) {
binding.mediaGalleryToolbar.setOnMenuItemClickListener { item ->