mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-22 21:19:31 +01:00
Clean up
This commit is contained in:
parent
0f0f78de53
commit
5945700ffb
@ -41,12 +41,6 @@ abstract class ConversationsDao {
|
|||||||
@Insert(onConflict = OnConflictStrategy.REPLACE)
|
@Insert(onConflict = OnConflictStrategy.REPLACE)
|
||||||
abstract suspend fun saveConversation(conversation: ConversationEntity)
|
abstract suspend fun saveConversation(conversation: ConversationEntity)
|
||||||
|
|
||||||
suspend fun saveConversationWithTimestamp(conversation: ConversationEntity) {
|
|
||||||
saveConversation(conversation.apply {
|
|
||||||
modifiedAt = System.currentTimeMillis()
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
@Insert(onConflict = OnConflictStrategy.REPLACE)
|
@Insert(onConflict = OnConflictStrategy.REPLACE)
|
||||||
abstract suspend fun saveConversations(vararg conversations: ConversationEntity)
|
abstract suspend fun saveConversations(vararg conversations: ConversationEntity)
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
# Specifies the JVM arguments used for the daemon process.
|
# Specifies the JVM arguments used for the daemon process.
|
||||||
# The setting is particularly useful for tweaking memory settings.
|
# 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.useAndroidX=true
|
||||||
android.enableJetifier=true
|
android.enableJetifier=true
|
||||||
|
Loading…
Reference in New Issue
Block a user