use toast instead of dialogue
This commit is contained in:
+1
-1
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user