fix file manager button

This commit is contained in:
qimiko committed 2024-01-08 23:21:43 -07:00
1 parent be485e7056
commit 0419e98419
1 file changed
+2 -2
@@ -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)