diff --git a/app/src/main/java/com/owncloud/android/ui/adapter/StoragePathAdapter.kt b/app/src/main/java/com/owncloud/android/ui/adapter/StoragePathAdapter.kt index 3bc079d963..968a6a2cf2 100644 --- a/app/src/main/java/com/owncloud/android/ui/adapter/StoragePathAdapter.kt +++ b/app/src/main/java/com/owncloud/android/ui/adapter/StoragePathAdapter.kt @@ -61,9 +61,11 @@ class StoragePathAdapter( fun chosenPath(path: String) } - inner class StoragePathViewHolder(var binding: StoragePathItemBinding) : RecyclerView.ViewHolder( - binding.root - ), View.OnClickListener { + inner class StoragePathViewHolder(var binding: StoragePathItemBinding) : + RecyclerView.ViewHolder( + binding.root + ), + View.OnClickListener { init { binding.root.setOnClickListener(this) } diff --git a/app/src/main/java/com/owncloud/android/ui/dialog/LocalStoragePathPickerDialogFragment.kt b/app/src/main/java/com/owncloud/android/ui/dialog/LocalStoragePathPickerDialogFragment.kt index 32ab754110..54a2baf1b3 100644 --- a/app/src/main/java/com/owncloud/android/ui/dialog/LocalStoragePathPickerDialogFragment.kt +++ b/app/src/main/java/com/owncloud/android/ui/dialog/LocalStoragePathPickerDialogFragment.kt @@ -40,8 +40,11 @@ import com.owncloud.android.utils.theme.ViewThemeUtils import java.io.File import javax.inject.Inject -class LocalStoragePathPickerDialogFragment : DialogFragment(), DialogInterface.OnClickListener, - StoragePathAdapterListener, Injectable { +class LocalStoragePathPickerDialogFragment : + DialogFragment(), + DialogInterface.OnClickListener, + StoragePathAdapterListener, + Injectable { @Inject lateinit var viewThemeUtils: ViewThemeUtils @@ -96,7 +99,9 @@ class LocalStoragePathPickerDialogFragment : DialogFragment(), DialogInterface.O val storagePathItems: MutableList = ArrayList() for (standardDirectory in StandardDirectory.getStandardDirectories()) { addIfExists( - storagePathItems, standardDirectory.icon, getString(standardDirectory.displayName), + storagePathItems, + standardDirectory.icon, + getString(standardDirectory.displayName), Environment.getExternalStoragePublicDirectory(standardDirectory.name).absolutePath ) }