Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ class DialogFragmentIT : AbstractIT() {
}

val action: OCFileListBottomSheetActions = object : OCFileListBottomSheetActions {
override fun createFolder() = Unit
override fun createFolder(encrypted: Boolean) = Unit
override fun uploadFromApp() = Unit
override fun uploadFiles() = Unit
override fun newDocument() = Unit
Expand All @@ -435,7 +435,8 @@ class DialogFragmentIT : AbstractIT() {
override fun directCameraUpload() = Unit
override fun scanDocUpload() = Unit
override fun scanDocUploadFromApp() = Unit
override fun isScanDocUploadFromAppAvailable(): Boolean = false
override val isScanDocUploadFromAppAvailable: Boolean
get() = false
override fun showTemplate(creator: Creator?, headline: String?) = Unit
override fun createRichWorkspace() = Unit
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,8 @@ class CreateFolderDialogFragment :
* @return Dialog ready to show.
*/
@JvmStatic
fun newInstance(parentFolder: OCFile?, encrypted: Boolean): CreateFolderDialogFragment {
@JvmOverloads
fun newInstance(parentFolder: OCFile?, encrypted: Boolean = false): CreateFolderDialogFragment {
val bundle = Bundle().apply {
putBoolean(ARG_ENCRYPTED, encrypted)
putParcelable(ARG_PARENT_FOLDER, parentFolder)
Expand Down
Loading