diff --git a/app/src/main/java/eu/kanade/mangafeed/data/helpers/DatabaseHelper.java b/app/src/main/java/eu/kanade/mangafeed/data/helpers/DatabaseHelper.java index 1c02f22ab..afa07905e 100644 --- a/app/src/main/java/eu/kanade/mangafeed/data/helpers/DatabaseHelper.java +++ b/app/src/main/java/eu/kanade/mangafeed/data/helpers/DatabaseHelper.java @@ -16,7 +16,6 @@ import eu.kanade.mangafeed.data.models.MangaStorIOSQLiteDeleteResolver; import eu.kanade.mangafeed.data.models.MangaStorIOSQLiteGetResolver; import eu.kanade.mangafeed.data.models.MangaStorIOSQLitePutResolver; import eu.kanade.mangafeed.data.managers.MangaManager; -import eu.kanade.mangafeed.data.tables.ChaptersTable; public class DatabaseHelper { diff --git a/app/src/main/java/eu/kanade/mangafeed/data/managers/MangaManager.java b/app/src/main/java/eu/kanade/mangafeed/data/managers/MangaManager.java index 8d9477ad9..2ac56abe7 100644 --- a/app/src/main/java/eu/kanade/mangafeed/data/managers/MangaManager.java +++ b/app/src/main/java/eu/kanade/mangafeed/data/managers/MangaManager.java @@ -11,7 +11,6 @@ import eu.kanade.mangafeed.data.tables.MangasTable; import rx.Observable; public class MangaManager extends BaseManager { - List mangass; public MangaManager(StorIOSQLite db) { super(db); @@ -28,7 +27,6 @@ public class MangaManager extends BaseManager { } public Observable insert(Manga manga) { - return db.put() .object(manga) .prepare() @@ -46,6 +44,8 @@ public class MangaManager extends BaseManager { m.thumbnail_url="http://example.com/pic.png"; m.title="One Piece"; insert(m).subscribe(); + m.title="Berserk"; + insert(m).subscribe(); } }