From 2519e0ab564fc202bf03f83c43b45123f7ef5e12 Mon Sep 17 00:00:00 2001 From: tibbi Date: Thu, 2 Jun 2022 23:03:06 +0200 Subject: [PATCH] fixing an extension typo --- .../smsmessenger/extensions/Context.kt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/extensions/Context.kt b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/extensions/Context.kt index ed17ed95..420fb153 100644 --- a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/extensions/Context.kt +++ b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/extensions/Context.kt @@ -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 { val uri = Sms.CONTENT_URI