Browse Source
fix favourites overwrite more
renovate/org.robolectric-robolectric-4.x
v19.0.3
Austin Huang
4 years ago
No known key found for this signature in database
GPG Key ID: 84C23AA04587A91F
2 changed files with
2 additions and
2 deletions
-
app/src/main/java/awais/instagrabber/db/AppDatabase.java
-
app/src/main/java/awais/instagrabber/utils/ExportImportUtils.java
|
@ -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"), |
|
|