Fix deadlock when sending photo from camera to new contact.

Fixes #14674
Closes #14679
This commit is contained in:
benny10ben
2026-03-22 03:18:00 +05:30
committed by Alex Hart
parent 833c81a99e
commit 57574126bb

View File

@@ -472,7 +472,7 @@ class MediaSelectionViewModel(
}
private fun shouldPreUpload(metered: Boolean): Boolean {
return !metered
return !metered && !isContactSelectionRequired
}
fun onSaveState(outState: Bundle) {