mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-12-23 05:16:58 +00:00
fix favourites overwrite more
This commit is contained in:
parent
7c44dad05d
commit
40da4baf01
@ -161,7 +161,7 @@ public abstract class AppDatabase extends RoomDatabase {
|
||||
final FavoriteType type = favoriteTypeQueryPair.first;
|
||||
final String query = favoriteTypeQueryPair.second;
|
||||
oldModels.add(new Favorite(
|
||||
-1,
|
||||
0,
|
||||
query,
|
||||
type,
|
||||
queryDisplayExists ? cursor.getString(cursor.getColumnIndex("query_display"))
|
||||
|
@ -152,7 +152,7 @@ public final class ExportImportUtils {
|
||||
continue;
|
||||
}
|
||||
final Favorite favorite = new Favorite(
|
||||
-1,
|
||||
0,
|
||||
query,
|
||||
favoriteType,
|
||||
favsObject.optString("s"),
|
||||
|
Loading…
Reference in New Issue
Block a user