mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-22 22:57:29 +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 FavoriteType type = favoriteTypeQueryPair.first;
|
||||||
final String query = favoriteTypeQueryPair.second;
|
final String query = favoriteTypeQueryPair.second;
|
||||||
oldModels.add(new Favorite(
|
oldModels.add(new Favorite(
|
||||||
-1,
|
0,
|
||||||
query,
|
query,
|
||||||
type,
|
type,
|
||||||
queryDisplayExists ? cursor.getString(cursor.getColumnIndex("query_display"))
|
queryDisplayExists ? cursor.getString(cursor.getColumnIndex("query_display"))
|
||||||
|
@ -152,7 +152,7 @@ public final class ExportImportUtils {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
final Favorite favorite = new Favorite(
|
final Favorite favorite = new Favorite(
|
||||||
-1,
|
0,
|
||||||
query,
|
query,
|
||||||
favoriteType,
|
favoriteType,
|
||||||
favsObject.optString("s"),
|
favsObject.optString("s"),
|
||||||
|
Loading…
Reference in New Issue
Block a user