use toast instead of dialogue

This commit is contained in:
davotoula
2026-04-05 18:23:41 +02:00
parent f9c7e3b15c
commit 9af678bd46
@@ -831,7 +831,7 @@ fun ShareMediaAction(
enabled = !isDownloadingVideo.value, enabled = !isDownloadingVideo.value,
) { ) {
isDownloadingVideo.value = true isDownloadingVideo.value = true
accountViewModel.toastManager.toast(R.string.share_video, R.string.downloading_video_for_sharing) Toast.makeText(context, stringRes(context, R.string.downloading_video_for_sharing), Toast.LENGTH_SHORT).show()
accountViewModel.viewModelScope.launch { accountViewModel.viewModelScope.launch {
shareVideoFile( shareVideoFile(
context = context, context = context,