mirror of
https://github.com/FossifyOrg/File-Manager.git
synced 2026-04-20 22:38:27 -04:00
fix shortcut opening wrong tab
- ensure first (files) tab is selected when opened from shortcut
This commit is contained in:
@@ -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