From 81b12dea70cadb5d2cdb66b73c8dea99ec373b89 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 12 Apr 2020 19:59:57 +0200 Subject: [PATCH] do not allow null Uri at attachments --- .../com/simplemobiletools/smsmessenger/models/Attachment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/models/Attachment.kt b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/models/Attachment.kt index a0db04f8..6e166252 100644 --- a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/models/Attachment.kt +++ b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/models/Attachment.kt @@ -2,4 +2,4 @@ package com.simplemobiletools.smsmessenger.models import android.net.Uri -data class Attachment(var uri: Uri?, var type: String) +data class Attachment(var uri: Uri, var type: String)