mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
fix/handle-shared-files-and-error-handling
This commit is contained in:
parent
c4147a8e87
commit
f84f524207
1 changed files with 0 additions and 2 deletions
|
|
@ -685,8 +685,6 @@ class UploadActivity : BaseActivity(), UploadContract.View, UploadBaseFragment.C
|
||||||
private fun receiveInternalSharedItems() {
|
private fun receiveInternalSharedItems() {
|
||||||
val intent = intent
|
val intent = intent
|
||||||
Timber.d("Intent has EXTRA_FILES: ${EXTRA_FILES}")
|
Timber.d("Intent has EXTRA_FILES: ${EXTRA_FILES}")
|
||||||
|
|
||||||
|
|
||||||
uploadableFiles = try {
|
uploadableFiles = try {
|
||||||
// Check if intent has the extra before trying to read it
|
// Check if intent has the extra before trying to read it
|
||||||
if (!intent.hasExtra(EXTRA_FILES)) {
|
if (!intent.hasExtra(EXTRA_FILES)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue