Skip to content

Commit 7107e95

Browse files
committed
clearer function name
Signed-off-by: alperozturk <alper_ozturk@proton.me>
1 parent 85ccee3 commit 7107e95

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/src/main/java/com/owncloud/android/ui/fragment/FileDetailsSharingProcessFragment.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ class FileDetailsSharingProcessFragment :
478478
if (shareProcessStep == SCREEN_TYPE_PERMISSION) {
479479
validateShareProcessFirst()
480480
} else {
481-
createOrUpdateShare()
481+
createShareOrUpdateNoteShare()
482482
}
483483
}
484484
shareProcessSetPasswordSwitch.setOnCheckedChangeListener { _, isChecked ->
@@ -702,7 +702,7 @@ class FileDetailsSharingProcessFragment :
702702
}
703703
}
704704

705-
private fun createOrUpdateShare() {
705+
private fun createShareOrUpdateNoteShare() {
706706
val noteText = binding.noteText.text.toString().trim()
707707
// if modifying existing share then directly update the note and send email
708708
if (share != null && share?.note != noteText) {

0 commit comments

Comments
 (0)