1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-22 14:47:29 +00:00

fix favourites overwrite more

This commit is contained in:
Austin Huang 2020-12-23 10:38:08 -05:00
parent 7c44dad05d
commit 40da4baf01
No known key found for this signature in database
GPG Key ID: 84C23AA04587A91F
2 changed files with 2 additions and 2 deletions

View File

@ -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"))

View File

@ -152,7 +152,7 @@ public final class ExportImportUtils {
continue;
}
final Favorite favorite = new Favorite(
-1,
0,
query,
favoriteType,
favsObject.optString("s"),