Skip to content

Commit

Permalink
fix file manager button
Browse files Browse the repository at this point in the history
  • Loading branch information
qimiko committed Jan 9, 2024
1 parent be485e7 commit 0419e98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/main/java/com/geode/launcher/SettingsActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ fun onOpenFolder(context: Context) {
}

fun onOpenFileManager(context: Context) {
val intent = Intent(Intent.ACTION_OPEN_DOCUMENT).apply {
val intent = Intent(Intent.ACTION_VIEW).apply {
addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION)
type = "*/*"
type = "vnd.android.document/directory"
}

context.startActivity(intent)
Expand Down

0 comments on commit 0419e98

Please sign in to comment.