Maybe make opening file picker for choosing backup file more reliable

This commit is contained in:
arkon
2021-03-25 13:56:39 -04:00
parent 3ba078f64c
commit a01792ac9a
2 changed files with 7 additions and 5 deletions
@@ -609,8 +609,9 @@ class MangaController :
override fun openMangaCoverPicker(manga: Manga) {
if (manga.favorite) {
val intent = Intent(Intent.ACTION_GET_CONTENT)
intent.type = "image/*"
val intent = Intent(Intent.ACTION_GET_CONTENT).apply {
type = "image/*"
}
startActivityForResult(
Intent.createChooser(
intent,