Skip to content

Commit a67d656

Browse files
authored
Merge pull request #645 from KryptKode/fix/file_shortcut
fix shortcut opening wrong tab
2 parents e0a8dac + 69ccd65 commit a67d656

File tree

1 file changed

+2
-0
lines changed
  • app/src/main/kotlin/com/simplemobiletools/filemanager/pro/activities

1 file changed

+2
-0
lines changed

app/src/main/kotlin/com/simplemobiletools/filemanager/pro/activities/MainActivity.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,8 @@ class MainActivity : SimpleActivity() {
365365
if (!File(data.path!!).isDirectory) {
366366
tryOpenPathIntent(data.path!!, false, finishActivity = true)
367367
}
368+
369+
main_view_pager.currentItem = 0
368370
} else {
369371
openPath(config.homeFolder)
370372
}

0 commit comments

Comments
 (0)