Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 36bc5854 authored by Philipp Heckel's avatar Philipp Heckel
Browse files

Support all images

parent 944ee3eb
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -156,10 +156,11 @@ class ShareActivity : AppCompatActivity() {

        // Incoming intent
        val intent = intent ?: return
        val type = intent.type ?: return
        if (intent.action != Intent.ACTION_SEND) return
        if (intent.type == "text/plain") {
        if (type == "text/plain") {
            handleSendText(intent)
        } else if (supportedImage(intent.type)) {
        } else if (type.startsWith("image/")) {
            handleSendImage(intent)
        } else {
            handleSendFile(intent)
+2 −1
Original line number Diff line number Diff line
Features:
* Dark theme: Improvements around style and contrast (#119, thanks @kzshantonu for reporting)
* Automatically delete notifications (#71, thanks @arjan-s for reporting)
* Share to topic feature (#131, thanks u/emptymatrix for reporting)
* Dark theme: Improvements around style and contrast (#119, thanks @kzshantonu for reporting)

Bug fixes:
* Do not attempt to download attachments if they are already expired (#135)