File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
app/src/main/kotlin/com/simplemobiletools/filemanager/activities Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -191,8 +191,9 @@ class MainActivity : SimpleActivity() {
191191 }
192192
193193 private fun goHome () {
194- if (config.homeFolder != fragment.currentPath)
194+ if (config.homeFolder != fragment.currentPath) {
195195 openPath(config.homeFolder)
196+ }
196197 }
197198
198199 private fun showSortingDialog () {
@@ -318,7 +319,7 @@ class MainActivity : SimpleActivity() {
318319 }
319320
320321 fun pickedPaths (paths : ArrayList <String >) {
321- val newPaths = paths.map { getFilePublicUri(File (it), BuildConfig .APPLICATION_ID ).toString() } as ArrayList
322+ val newPaths = paths.map { getFilePublicUri(File (it), BuildConfig .APPLICATION_ID ) } as ArrayList
322323 val clipData = ClipData (" Attachment" , arrayOf(paths.getMimeType()), ClipData .Item (newPaths.removeAt(0 )))
323324
324325 newPaths.forEach {
You can’t perform that action at this time.
0 commit comments