Skip to content

Commit 090e3a8

Browse files
committed
refactor: remove unnecessary lambda parameter for selectedPermission
1 parent 2145d57 commit 090e3a8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

owncloudApp/src/main/java/com/owncloud/android/presentation/spaces/links/AddPublicLinkFragment.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ class AddPublicLinkFragment: Fragment(), SetPasswordDialogFragment.SetPasswordLi
9595
}
9696

9797
hasPassword = it.selectedPassword != null
98-
it.selectedPermission?.let { selectedPermission ->
98+
it.selectedPermission?.let {
9999
binding.optionsLayout.isVisible = true
100100
binding.passwordLayout.apply {
101101
passwordValue.isVisible = hasPassword

0 commit comments

Comments
 (0)