diff --git a/app/src/main/java/com/keylesspalace/tusky/components/compose/MediaUploader.kt b/app/src/main/java/com/keylesspalace/tusky/components/compose/MediaUploader.kt index 73fa6d11f..1fa03d54b 100644 --- a/app/src/main/java/com/keylesspalace/tusky/components/compose/MediaUploader.kt +++ b/app/src/main/java/com/keylesspalace/tusky/components/compose/MediaUploader.kt @@ -77,8 +77,7 @@ class MediaUploaderImpl( .fromCallable { if (shouldResizeMedia(media)) { downsize(media) - } - media + } else media } .switchMap { upload(it) } .subscribeOn(Schedulers.io())