Skip to content

Commit 9287043

Browse files
committed
Fix lint report
1 parent e7d8497 commit 9287043

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

owncloudApp/src/main/java/com/owncloud/android/presentation/ui/files/details/FileDetailsViewModel.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,9 @@ class FileDetailsViewModel(
109109
}
110110

111111
fun startListeningToWorkInfo(uuid: UUID?) {
112-
uuid ?: return
113-
114-
_ongoingTransferUUID.postValue(uuid)
112+
uuid?.let {
113+
_ongoingTransferUUID.postValue(it)
114+
}
115115
}
116116

117117
fun checkOnGoingTransfersWhenOpening() {

0 commit comments

Comments
 (0)