feat: show toast while downloading video for sharing
Display a "Downloading video…" toast when the user taps share on a remote video, so they know the download is in progress before the share sheet appears. Uses the existing `downloading_video_for_sharing` string resource that was already translated in multiple locales. https://claude.ai/code/session_01B7HLXqbnicfj3eg1Wjgz6Z
This commit is contained in:
@@ -833,6 +833,7 @@ fun ShareMediaAction(
|
||||
enabled = !isDownloadingVideo.value,
|
||||
) {
|
||||
isDownloadingVideo.value = true
|
||||
accountViewModel.toastManager.toast(R.string.share_video, R.string.downloading_video_for_sharing)
|
||||
scope.launch {
|
||||
shareVideoFile(
|
||||
context = context,
|
||||
|
||||
Reference in New Issue
Block a user