Skip to content

Commit b71874b

Browse files
committed
fix git conflicts
Signed-off-by: alperozturk <[email protected]>
1 parent a715566 commit b71874b

File tree

12 files changed

+78
-1081
lines changed

12 files changed

+78
-1081
lines changed

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ dependencies {
122122
implementation 'androidx.appcompat:appcompat:1.7.0'
123123
implementation 'androidx.core:core-ktx:1.13.1'
124124
implementation 'androidx.core:core-splashscreen:1.0.1'
125-
implementation 'androidx.fragment:fragment:1.8.5'
125+
implementation 'androidx.fragment:fragment:1.8.6'
126126
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.8.7'
127127
implementation 'androidx.preference:preference:1.2.1'
128128
implementation 'androidx.recyclerview:recyclerview-selection:1.1.0'
@@ -139,7 +139,7 @@ dependencies {
139139
implementation 'com.squareup.retrofit2:retrofit:2.11.0'
140140

141141
// Gson
142-
implementation 'com.google.code.gson:gson:2.11.0'
142+
implementation 'com.google.code.gson:gson:2.12.1'
143143

144144
// ReactiveX
145145
implementation 'io.reactivex.rxjava2:rxjava:2.2.21'

app/src/main/java/it/niedermann/owncloud/notes/persistence/dao/ShareDao.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ package it.niedermann.owncloud.notes.persistence.dao
22

33
import androidx.room.Dao
44
import androidx.room.Insert
5+
import androidx.room.OnConflictStrategy
56
import androidx.room.Query
67
import it.niedermann.owncloud.notes.persistence.entity.ShareEntity
78

89
@Dao
910
interface ShareDao {
11+
@Insert(onConflict = OnConflictStrategy.REPLACE)
12+
fun addShareEntities(entities: List<ShareEntity>)
1013

11-
@Insert
12-
fun addShareEntity(entity: ShareEntity)
13-
14-
@Query("SELECT * FROM share_table WHERE noteRemoteId = :noteRemoteId AND userName = :userName")
15-
fun getShareEntities(noteRemoteId: Long, userName: String): List<ShareEntity>
14+
@Query("SELECT * FROM share_table WHERE path = :path")
15+
fun getShareEntities(path: String): List<ShareEntity>
1616
}

app/src/main/java/it/niedermann/owncloud/notes/share/ClientFactoryImpl.java

Lines changed: 0 additions & 84 deletions
This file was deleted.

app/src/main/java/it/niedermann/owncloud/notes/share/CreateShareViaLinkOperation.java

Lines changed: 0 additions & 91 deletions
This file was deleted.

0 commit comments

Comments
 (0)