mirror of
https://github.com/FossifyOrg/File-Manager.git
synced 2026-11-06 04:53:03 -05:00
fix shortcut opening wrong tab
- ensure first (files) tab is selected when opened from shortcut
This commit is contained in:
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)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user