Compress images before sending

This commit is contained in:
Moez Bhatti
2018-01-15 13:36:36 -05:00
parent a834266bf3
commit 20487ea6fc
7 changed files with 38 additions and 18 deletions
@@ -19,6 +19,7 @@
package presentation.feature.compose
import android.graphics.Bitmap
import android.net.Uri
import data.model.Contact
import data.model.Message
import io.reactivex.Observable
@@ -38,7 +39,7 @@ interface ComposeView : QkView<ComposeState> {
val copyTextIntent: Subject<Message>
val forwardMessageIntent: Subject<Message>
val deleteMessageIntent: Subject<Message>
val attachmentDeletedIntent: Subject<Bitmap>
val attachmentDeletedIntent: Subject<Uri>
val textChangedIntent: Observable<CharSequence>
val attachIntent: Observable<Unit>
val sendIntent: Observable<Unit>