This commit is contained in:
Mario Danic 2019-12-02 15:07:32 +01:00
parent 0f0f78de53
commit 5945700ffb
No known key found for this signature in database
GPG Key ID: CDE0BBD2738C4CC0
2 changed files with 1 additions and 7 deletions

View File

@ -41,12 +41,6 @@ abstract class ConversationsDao {
@Insert(onConflict = OnConflictStrategy.REPLACE)
abstract suspend fun saveConversation(conversation: ConversationEntity)
suspend fun saveConversationWithTimestamp(conversation: ConversationEntity) {
saveConversation(conversation.apply {
modifiedAt = System.currentTimeMillis()
})
}
@Insert(onConflict = OnConflictStrategy.REPLACE)
abstract suspend fun saveConversations(vararg conversations: ConversationEntity)

View File

@ -29,7 +29,7 @@
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-XX:MaxHeapSize\=2048m -Xmx2048m
org.gradle.jvmargs=-XX:MaxHeapSize\=4096m -Xmx4096m
android.useAndroidX=true
android.enableJetifier=true