Refactoring

This commit is contained in:
M66B
2021-08-18 19:37:10 +02:00
parent f9e69b0919
commit 636c2b4a8f
5 changed files with 32 additions and 30 deletions

View File

@@ -422,10 +422,10 @@ public abstract class DB extends RoomDatabase {
private static void createTriggers(@NonNull SupportSQLiteDatabase db) {
List<String> image = new ArrayList<>();
for (String img : Helper.IMAGE_TYPES)
for (String img : ImageHelper.IMAGE_TYPES)
image.add("'" + img + "'");
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O)
for (String img : Helper.IMAGE_TYPES8)
for (String img : ImageHelper.IMAGE_TYPES8)
image.add("'" + img + "'");
String images = TextUtils.join(",", image);