Skip to content

Commit 3564db1

Browse files
committed
add missing fields
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
1 parent 841dd7d commit 3564db1

3 files changed

Lines changed: 13 additions & 6 deletions

File tree

app/src/main/java/com/nextcloud/utils/extensions/RemoteFileExtensions.kt

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,13 @@ fun RemoteFile.isSame(path: String?): Boolean {
2929
this.areImageDimensionsSame(path)
3030
}
3131

32-
fun RemoteFile.sharedViaLink(): Boolean = sharees?.any { it.shareType?.isLink == true } ?: false
32+
fun RemoteFile.sharedViaLink(): Boolean = sharees?.any { it.shareType?.isLink == true } ?: false
3333

34-
fun RemoteFile.sharedWithSharee(): Boolean = sharees?.isNotEmpty() ?: false
34+
fun RemoteFile.sharedWithSharee(): Boolean = sharees?.isNotEmpty() ?: false
3535

36-
fun RemoteFile.getShareeList(): List<ShareeUser> = sharees?.toList() ?: emptyList()
36+
fun RemoteFile.getShareeList(): List<ShareeUser> = sharees?.toList() ?: emptyList()
3737

38-
fun RemoteFile.tags(): List<Tag> =
39-
tags?.mapNotNull { it } ?: emptyList()
38+
fun RemoteFile.tags(): List<Tag> = tags?.mapNotNull { it } ?: emptyList()
4039

4140
@Suppress("ReturnCount")
4241
private fun RemoteFile.areImageDimensionsSame(path: String): Boolean {

app/src/main/java/com/owncloud/android/ui/asynctasks/GallerySearchTask.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class GallerySearchTask(
7171
): SearchRemoteOperation =
7272
SearchRemoteOperation("", SearchRemoteOperation.SearchType.GALLERY_SEARCH, false, ocCapability).apply {
7373
limit = this@GallerySearchTask.limit
74-
endDate = this@GallerySearchTask.endDate
74+
endDate = this@GallerySearchTask.endDate
7575

7676
// workaround to keep SearchRemoteOperation functioning correctly even if we don't actively use startDate
7777
startDate = 0L

gradle/verification-metadata.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21168,6 +21168,14 @@
2116821168
<sha256 value="2f00698736587390e30f3ffb5ed9e801c1f0e80f1304590488624be969186483" origin="Generated by Gradle" reason="Artifact is not signed"/>
2116921169
</artifact>
2117021170
</component>
21171+
<component group="com.github.nextcloud" name="android-library" version="445f4b7b3d">
21172+
<artifact name="android-library-445f4b7b3d.aar">
21173+
<sha256 value="a7cdfc02c68f723b83cd262e6e6447bfe8453aac3084c57fb898208e069459ea" origin="Generated by Gradle" reason="Artifact is not signed"/>
21174+
</artifact>
21175+
<artifact name="android-library-445f4b7b3d.module">
21176+
<sha256 value="173b3a1cc7e6d075a0f9f1c114fbcad642c19bbb43e10c068e2be625545b7be3" origin="Generated by Gradle" reason="Artifact is not signed"/>
21177+
</artifact>
21178+
</component>
2117121179
<component group="com.github.nextcloud" name="android-library" version="451cddeba122ff4d17dc8f88feb2fd7589f77567">
2117221180
<artifact name="android-library-451cddeba122ff4d17dc8f88feb2fd7589f77567.aar">
2117321181
<sha256 value="c253a126ca3c32dd5b373ab1c64668e4603305b3113b052fc0fc5e3c833a913c" origin="Generated by Gradle" reason="Artifact is not signed"/>

0 commit comments

Comments
 (0)