fix shortcut opening wrong tab

- ensure first (files) tab is selected when opened from shortcut
This commit is contained in:
darthpaul committed 2022-10-11 06:56:36 +01:00
1 parent e0a8dace7c
commit 69ccd6532b
1 file changed
+2
@@ -365,6 +365,8 @@ class MainActivity : SimpleActivity() {
if (!File(data.path!!).isDirectory) {
tryOpenPathIntent(data.path!!, false, finishActivity = true)
}
main_view_pager.currentItem = 0
} else {
openPath(config.homeFolder)
}