fix shortcut opening wrong tab
- ensure first (files) tab is selected when opened from shortcut
This commit is contained in:
parent
e0a8dace7c
commit
69ccd6532b
|
@ -365,6 +365,8 @@ class MainActivity : SimpleActivity() {
|
||||||
if (!File(data.path!!).isDirectory) {
|
if (!File(data.path!!).isDirectory) {
|
||||||
tryOpenPathIntent(data.path!!, false, finishActivity = true)
|
tryOpenPathIntent(data.path!!, false, finishActivity = true)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
main_view_pager.currentItem = 0
|
||||||
} else {
|
} else {
|
||||||
openPath(config.homeFolder)
|
openPath(config.homeFolder)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue