fixing an extension typo

This commit is contained in:
tibbi 2022-06-02 23:03:06 +02:00
parent f3ebdd3e3b
commit 2519e0ab56

View File

@ -46,15 +46,15 @@ import java.io.FileNotFoundException
val Context.config: Config get() = Config.newInstance(applicationContext)
fun Context.getMessagessDB() = MessagesDatabase.getInstance(this)
fun Context.getMessagesDB() = MessagesDatabase.getInstance(this)
val Context.conversationsDB: ConversationsDao get() = getMessagessDB().ConversationsDao()
val Context.conversationsDB: ConversationsDao get() = getMessagesDB().ConversationsDao()
val Context.attachmentsDB: AttachmentsDao get() = getMessagessDB().AttachmentsDao()
val Context.attachmentsDB: AttachmentsDao get() = getMessagesDB().AttachmentsDao()
val Context.messageAttachmentsDB: MessageAttachmentsDao get() = getMessagessDB().MessageAttachmentsDao()
val Context.messageAttachmentsDB: MessageAttachmentsDao get() = getMessagesDB().MessageAttachmentsDao()
val Context.messagesDB: MessagesDao get() = getMessagessDB().MessagesDao()
val Context.messagesDB: MessagesDao get() = getMessagesDB().MessagesDao()
fun Context.getMessages(threadId: Long, getImageResolutions: Boolean, dateFrom: Int = -1): ArrayList<Message> {
val uri = Sms.CONTENT_URI