Media upload tweaks (#3643)

* Focus the media caption composer if a hardware keyboard is available
Not worrying about live connections, this screen is short lived.

* Fix a bug where you could hit the send button multiple times while waiting for the media to be converted.

* Begin processing media as soon as the media upload screen is shown.
This commit is contained in:
Doug
2024-12-20 10:34:22 +00:00
committed by GitHub
parent 98c57b60d3
commit 888a61ace1
5 changed files with 58 additions and 16 deletions
@@ -11,4 +11,7 @@ import Combine
protocol MediaUploadPreviewScreenViewModelProtocol {
var actions: AnyPublisher<MediaUploadPreviewScreenViewModelAction, Never> { get }
var context: MediaUploadPreviewScreenViewModelType.Context { get }
/// Stops any ongoing media processing tasks.
func stopProcessing()
}