1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-03 17:59:33 +02:00
This commit is contained in:
Dmitry Yuranov 2014-04-16 18:13:00 +02:00
parent c85431c150
commit 026b80320c
2 changed files with 5 additions and 1 deletions

View file

@ -72,7 +72,11 @@ public class FileUtils {
return R.drawable.afc_folder; return R.drawable.afc_folder;
} }
}else{ }else{
return R.drawable.afc_folder; if(file instanceof File && !((File)file).canExecute()){
return R.drawable.afc_folder_no_access;
}else{
return R.drawable.afc_folder;
}
} }
} }