diff --git a/app/src/main/java/com/quran/labs/androidquran/util/QuranFileUtils.java b/app/src/main/java/com/quran/labs/androidquran/util/QuranFileUtils.java index b155d8c257..8c910fc0e9 100644 --- a/app/src/main/java/com/quran/labs/androidquran/util/QuranFileUtils.java +++ b/app/src/main/java/com/quran/labs/androidquran/util/QuranFileUtils.java @@ -502,7 +502,7 @@ public boolean hasArabicSearchDatabase(Context context) { if (ayahInfoFile.exists() && baseDir != null) { final File base = new File(baseDir); final File translationsFile = new File(base, QuranDataProvider.QURAN_ARABIC_DATABASE); - if (base.mkdir()) { + if (base.exists() || base.mkdir()) { try { copyFile(ayahInfoFile, translationsFile); return true;